Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.0009968/0.0009968, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 55.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.09472, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01475/0.1095, allocations: 14.62 MB / 343.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.118, allocations: 3.926 MB / 347.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.1204, allocations: 87.75 kB / 347.4 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01189/0.1323, allocations: 5.597 MB / 352.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006163/0.1384, allocations: 1.745 MB / 354.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.1415, allocations: 1.083 MB / 355.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008185/0.1497, allocations: 6.758 MB / 362.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01737/0.1671, allocations: 13.75 MB / 376.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004992/0.1721, allocations: 3.487 MB / 379.8 MB, free: 436 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1599/0.332, allocations: 4.12 MB / 383.9 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003463/0.3355, allocations: 0.9142 MB / 384.8 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.3403, allocations: 1.105 MB / 385.9 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003529/0.3439, allocations: 1.927 MB / 387.8 MB, free: 24.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007143/0.351, allocations: 3.795 MB / 391.6 MB, free: 23.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.3623, allocations: 12.38 MB / 404 MB, free: 17.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3624, allocations: 0 / 404 MB, free: 17.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3624, allocations: 0 / 404 MB, free: 17.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000374/0.3628, allocations: 0 / 404 MB, free: 17.92 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02283/0.3856, allocations: 8.301 MB / 412.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3857, allocations: 6.906 kB / 412.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03015/0.4158, allocations: 5.075 MB / 417.4 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008309/0.4242, allocations: 3.551 MB / 420.9 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003884/0.4246, allocations: 0.5083 MB / 421.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/0.427, allocations: 0.6672 MB / 422.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.4513, allocations: 10.48 MB / 432.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003024/0.4516, allocations: 8 kB / 432.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/0.4535, allocations: 279.3 kB / 432.9 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004195/0.454, allocations: 382.6 kB / 433.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0202/0.4742, allocations: 9.633 MB / 442.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05415/0.5284, allocations: 31.5 MB / 474.4 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/0.5458, allocations: 22.91 MB / 497.3 MB, free: 7.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.5486, allocations: 1.944 MB / 499.2 MB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009893/0.5585, allocations: 6.232 MB / 0.4936 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.5586, allocations: 48 kB / 0.4937 GB, free: 15.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 2.905e-06/0.5586, allocations: 0 / 0.4937 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.006265/0.5648, allocations: 3.177 MB / 0.4968 GB, free: 11.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5649, allocations: 106.2 kB / 0.4969 GB, free: 11.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.5687, allocations: 2.612 MB / 0.4994 GB, free: 9.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5688, allocations: 49.7 kB / 0.4995 GB, free: 9.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.5706, allocations: 3.115 MB / 0.5025 GB, free: 5.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.571, allocations: 0.549 MB / 0.5031 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.5722, allocations: 0.8014 MB / 0.5038 GB, free: 4.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.5723, allocations: 301.1 kB / 0.5041 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.5745, allocations: 1.464 MB / 0.5056 GB, free: 2.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003233/0.5777, allocations: 3.265 MB / 0.5087 GB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005191/0.5829, allocations: 4.818 MB / 0.5135 GB, free: 9.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.433e-05/0.583, allocations: 16 kB / 0.5135 GB, free: 9.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007749/0.5908, allocations: 5.096 MB / 0.5184 GB, free: 4.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.5908, allocations: 32 kB / 0.5185 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-05/0.5909, allocations: 60 kB / 0.5185 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008264/0.5918, allocations: 340.8 kB / 0.5189 GB, free: 4.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/0.5946, allocations: 0.8821 MB / 0.5197 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.5999, allocations: 5.065 MB / 0.5247 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/0.6028, allocations: 0.5418 MB / 0.5252 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003403/0.6031, allocations: 212 kB / 0.5254 GB, free: 13.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.003522/0.6067, allocations: 2.324 MB / 0.5277 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/0.6071, allocations: 229.1 kB / 0.5279 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.6111, allocations: 2.323 MB / 0.5302 GB, free: 8.445 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.6111, allocations: 16 kB / 0.5302 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.6111, allocations: 4 kB / 0.5302 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.6112, allocations: 11.97 kB / 0.5302 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.6213, allocations: 5.331 MB / 0.5354 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/0.6213, allocations: 0 / 0.5354 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6225, allocations: 258.4 kB / 0.5356 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006398/0.6231, allocations: 265.7 kB / 0.5359 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.6233, allocations: 40.06 kB / 0.5359 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1746/0.7979, allocations: 4.921 MB / 0.5407 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.7979, allocations: 1.375 kB / 0.5407 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/0.8029, allocations: 3.306 MB / 0.544 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.8041, allocations: 467.7 kB / 0.5444 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/0.8045, allocations: 30.25 kB / 0.5444 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.8057, allocations: 96.41 kB / 0.5445 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/0.806, allocations: 108.1 kB / 0.5446 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.8061, allocations: 46.77 kB / 0.5447 GB, free: 153.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002829/0.8089, allocations: 1.715 MB / 0.5464 GB, free: 152.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8089, allocations: 0 / 0.5464 GB, free: 152.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004835/0.8137, allocations: 1.523 MB / 0.5478 GB, free: 152.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004171/0.8142, allocations: 172.2 kB / 0.548 GB, free: 152.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005551/0.8197, allocations: 3.519 MB / 0.5514 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.8198, allocations: 0 / 0.5514 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.8215, allocations: 1.26 MB / 0.5527 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.8242, allocations: 0.4944 MB / 0.5532 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/0.8428, allocations: 9.854 MB / 0.5628 GB, free: 145.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00521/0.8481, allocations: 4.188 MB / 0.5669 GB, free: 144.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003222/0.8513, allocations: 1.285 MB / 0.5681 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005977/0.8519, allocations: 179.6 kB / 0.5683 GB, free: 144 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8519, allocations: 0 / 0.5683 GB, free: 144 MB / 446.1 MB Notification: Performance of Templates: time 0.05007/0.902, allocations: 30.59 MB / 0.5982 GB, free: 117.4 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches