Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 112.5 kB / 16.62 MB, free: 6.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 193.8 kB / 17.54 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009691/0.0009691, allocations: 48.86 kB / 300.1 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09211, allocations: 49.45 MB / 349.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01313/0.1053, allocations: 13.71 MB / 363.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006765/0.1121, allocations: 3.738 MB / 367 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.1132, allocations: 95.75 kB / 367.1 MB, free: 2.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1617/0.275, allocations: 5.274 MB / 372.4 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004587/0.2796, allocations: 1.351 MB / 373.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.282, allocations: 0.9902 MB / 374.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006637/0.2886, allocations: 6.222 MB / 381 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01668/0.3053, allocations: 15.95 MB / 396.9 MB, free: 1.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/0.3104, allocations: 3.421 MB / 400.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005361/0.3158, allocations: 3.881 MB / 404.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.3172, allocations: 0.8828 MB / 405.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.3195, allocations: 1.078 MB / 406.2 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.3209, allocations: 1.775 MB / 407.9 MB, free: 7.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00394/0.3248, allocations: 3.57 MB / 411.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.3349, allocations: 11.87 MB / 423.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3349, allocations: 3.938 kB / 423.4 MB, free: 8.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.335, allocations: 7.938 kB / 423.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002101/0.3352, allocations: 0 / 423.4 MB, free: 8.469 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01887/0.354, allocations: 7.81 MB / 431.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3541, allocations: 8.031 kB / 431.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01848/0.3726, allocations: 2.883 MB / 434.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007502/0.3801, allocations: 3.616 MB / 437.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004577/0.3806, allocations: 483.5 kB / 438.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.3828, allocations: 0.6184 MB / 438.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/0.403, allocations: 9.318 MB / 448.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001412/0.4032, allocations: 15.78 kB / 448.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006184/0.4038, allocations: 265.3 kB / 448.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000354/0.4042, allocations: 321.4 kB / 448.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.4172, allocations: 7.946 MB / 456.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03857/0.4558, allocations: 28.56 MB / 485.2 MB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.4672, allocations: 11.7 MB / 496.9 MB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/0.4696, allocations: 1.625 MB / 498.5 MB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.4698, allocations: 135.9 kB / 498.7 MB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.4699, allocations: 64.88 kB / 498.7 MB, free: 10.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 4.438e-06/0.4699, allocations: 0 / 498.7 MB, free: 10.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.007901/0.4778, allocations: 4.168 MB / 0.4911 GB, free: 6.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.4779, allocations: 103.1 kB / 0.4912 GB, free: 6.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.4803, allocations: 1.903 MB / 0.4931 GB, free: 4.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4805, allocations: 65.7 kB / 0.4931 GB, free: 4.391 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.4819, allocations: 2.538 MB / 0.4956 GB, free: 1.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/0.4826, allocations: 0.8139 MB / 0.4964 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009118/0.4835, allocations: 0.6637 MB / 0.4971 GB, free: 364 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.4836, allocations: 301.1 kB / 0.4974 GB, free: 60 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.4855, allocations: 1.396 MB / 0.4987 GB, free: 14.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.4883, allocations: 2.599 MB / 0.5013 GB, free: 11.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004769/0.4931, allocations: 4.234 MB / 0.5054 GB, free: 6.758 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-05/0.4931, allocations: 12 kB / 0.5054 GB, free: 6.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006561/0.4997, allocations: 4.514 MB / 0.5098 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.4997, allocations: 23.98 kB / 0.5098 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/0.4998, allocations: 43.98 kB / 0.5099 GB, free: 2.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007404/0.5005, allocations: 317.6 kB / 0.5102 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.5032, allocations: 0.78 MB / 0.5109 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005342/0.5085, allocations: 5.038 MB / 0.5159 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.5107, allocations: 416 kB / 0.5163 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002446/0.511, allocations: 160 kB / 0.5164 GB, free: 11.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003/0.514, allocations: 2.187 MB / 0.5185 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.5143, allocations: 217.3 kB / 0.5188 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00504/0.5194, allocations: 3.185 MB / 0.5219 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.5194, allocations: 24 kB / 0.5219 GB, free: 5.531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5194, allocations: 4 kB / 0.5219 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.5195, allocations: 15.89 kB / 0.5219 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1614/0.6808, allocations: 11.77 MB / 0.5334 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.6809, allocations: 20.56 kB / 0.5334 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/0.6825, allocations: 436 kB / 0.5338 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006535/0.6832, allocations: 275 kB / 0.5341 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.6834, allocations: 66.98 kB / 0.5342 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004312/0.6877, allocations: 4.979 MB / 0.539 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.509e-05/0.6877, allocations: 26.56 kB / 0.5391 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006134/0.6938, allocations: 4.986 MB / 0.5439 GB, free: 131.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.6949, allocations: 0.5327 MB / 0.5444 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.6953, allocations: 61.52 kB / 0.5445 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.6966, allocations: 125.3 kB / 0.5446 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003266/0.6969, allocations: 206.8 kB / 0.5448 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.6971, allocations: 84.45 kB / 0.5449 GB, free: 131.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001605/0.6987, allocations: 1.29 MB / 0.5462 GB, free: 131.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.182e-06/0.6987, allocations: 0 / 0.5462 GB, free: 131.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004006/0.7027, allocations: 1.435 MB / 0.5476 GB, free: 130.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004467/0.7032, allocations: 226.4 kB / 0.5478 GB, free: 130.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006268/0.7094, allocations: 4.157 MB / 0.5518 GB, free: 129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.7095, allocations: 3.969 kB / 0.5518 GB, free: 129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.7114, allocations: 1.693 MB / 0.5535 GB, free: 128.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.714, allocations: 0.5071 MB / 0.554 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/0.7278, allocations: 12.6 MB / 0.5663 GB, free: 120.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/0.7308, allocations: 4.001 MB / 0.5702 GB, free: 119.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002874/0.7337, allocations: 1.198 MB / 0.5714 GB, free: 118.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.7342, allocations: 184.6 kB / 0.5715 GB, free: 118.6 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7342, allocations: 0 / 0.5715 GB, free: 118.6 MB / 446.1 MB Notification: Performance of Templates: time 0.0411/0.7753, allocations: 31.05 MB / 0.6019 GB, free: 88.98 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches