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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 102.5 kB / 21.93 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 55.92 kB / 348.5 MB, free: 9.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3197, allocations: 49.16 MB / 397.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01267/0.3323, allocations: 12.54 MB / 410.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009734/0.3421, allocations: 3.846 MB / 414 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004455/0.3465, allocations: 103.1 kB / 414.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01369/0.3602, allocations: 5.202 MB / 419.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008041/0.3682, allocations: 1.623 MB / 420.9 MB, free: 9.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.3726, allocations: 1.208 MB / 422.1 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01092/0.3835, allocations: 6.854 MB / 429 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01532/0.3988, allocations: 9.182 MB / 438.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007156/0.406, allocations: 3.573 MB / 441.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008146/0.4141, allocations: 4.025 MB / 445.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003183/0.4173, allocations: 0.918 MB / 446.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005331/0.4226, allocations: 1.09 MB / 447.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004829/0.4275, allocations: 1.932 MB / 449.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008349/0.4358, allocations: 2.98 MB / 452.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01922/0.455, allocations: 12.48 MB / 465.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.455, allocations: 4 kB / 465.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.455, allocations: 0 / 465.2 MB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004316/0.4555, allocations: 0 / 465.2 MB, free: 15.34 MB / 382.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.02831/0.4838, allocations: 8.362 MB / 473.5 MB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4838, allocations: 16.03 kB / 473.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03238/0.5162, allocations: 5.103 MB / 478.7 MB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/0.5262, allocations: 3.562 MB / 482.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005695/0.5268, allocations: 0.5058 MB / 482.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002953/0.5298, allocations: 0.6718 MB / 483.4 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02986/0.5596, allocations: 10.62 MB / 494 MB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/0.5599, allocations: 11.95 kB / 494 MB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/0.5616, allocations: 291.9 kB / 494.3 MB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004291/0.5621, allocations: 382.6 kB / 494.7 MB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02225/0.5843, allocations: 9.586 MB / 0.4925 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06104/0.6454, allocations: 26.53 MB / 0.5184 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/0.6582, allocations: 5.714 MB / 0.524 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/0.6615, allocations: 1.745 MB / 0.5257 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01142/0.6729, allocations: 4.728 MB / 0.5303 GB, free: 1.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.673, allocations: 55.94 kB / 0.5303 GB, free: 0.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.849e-06/0.673, allocations: 0 / 0.5303 GB, free: 0.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.007433/0.6804, allocations: 3.016 MB / 0.5333 GB, free: 13.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/0.6805, allocations: 90.55 kB / 0.5334 GB, free: 13.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/0.6851, allocations: 2.735 MB / 0.536 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.6853, allocations: 49.7 kB / 0.5361 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003062/0.6883, allocations: 3.252 MB / 0.5393 GB, free: 7.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007343/0.6891, allocations: 0.5697 MB / 0.5398 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001389/0.6905, allocations: 0.8059 MB / 0.5406 GB, free: 6.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6906, allocations: 305.1 kB / 0.5409 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002526/0.6931, allocations: 1.468 MB / 0.5423 GB, free: 4.555 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00415/0.6973, allocations: 3.265 MB / 0.5455 GB, free: 444 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006861/0.7041, allocations: 4.816 MB / 0.5502 GB, free: 10.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.176e-05/0.7042, allocations: 19.98 kB / 0.5502 GB, free: 10.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01002/0.7142, allocations: 5.087 MB / 0.5552 GB, free: 5.645 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.177e-05/0.7143, allocations: 32 kB / 0.5552 GB, free: 5.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.855e-05/0.7144, allocations: 60 kB / 0.5553 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/0.7153, allocations: 345.7 kB / 0.5556 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.7184, allocations: 0.8813 MB / 0.5565 GB, free: 4.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2466/0.9651, allocations: 4.731 MB / 0.5611 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.969, allocations: 0.5481 MB / 0.5616 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/0.9696, allocations: 212.7 kB / 0.5618 GB, free: 135 MB / 478.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.004262/0.9738, allocations: 2.333 MB / 0.5641 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005644/0.9744, allocations: 229.8 kB / 0.5643 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/0.9783, allocations: 2.308 MB / 0.5666 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.9784, allocations: 17.16 kB / 0.5666 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.9784, allocations: 3.781 kB / 0.5666 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.9784, allocations: 12.94 kB / 0.5666 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008201/0.9866, allocations: 3.863 MB / 0.5704 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.9866, allocations: 5.422 kB / 0.5704 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.9879, allocations: 258 kB / 0.5706 GB, free: 132.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007016/0.9886, allocations: 259 kB / 0.5709 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.9887, allocations: 39.45 kB / 0.5709 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004314/0.9931, allocations: 4.626 MB / 0.5754 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9931, allocations: 1.094 kB / 0.5754 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/0.9982, allocations: 3.306 MB / 0.5787 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.9995, allocations: 403.5 kB / 0.5791 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000384/0.9999, allocations: 27.84 kB / 0.5791 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/1.001, allocations: 98.8 kB / 0.5792 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/1.001, allocations: 110.2 kB / 0.5793 GB, free: 127.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.984e-05/1.001, allocations: 45.14 kB / 0.5793 GB, free: 127.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002602/1.004, allocations: 1.704 MB / 0.581 GB, free: 126.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.004, allocations: 0 / 0.581 GB, free: 126.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005443/1.009, allocations: 1.546 MB / 0.5825 GB, free: 126.5 MB / 478.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.0004834/1.01, allocations: 172.8 kB / 0.5827 GB, free: 126.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00522/1.015, allocations: 3.343 MB / 0.5859 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.015, allocations: 2 kB / 0.5859 GB, free: 125 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.017, allocations: 1.183 MB / 0.5871 GB, free: 124.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/1.019, allocations: 486 kB / 0.5876 GB, free: 124.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.036, allocations: 9.981 MB / 0.5973 GB, free: 119.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003232/1.039, allocations: 3.563 MB / 0.6008 GB, free: 117.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009068/1.04, allocations: 227.2 kB / 0.601 GB, free: 117.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.353e-06/1.04, allocations: 0 / 0.601 GB, free: 117.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1325/1.172, allocations: 133.3 MB / 0.7312 GB, free: 0.75 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.736263752914965]