Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.0009166/0.0009166, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.0008884/0.0008884, allocations: 162.5 kB / 25.7 MB, free: 8.406 MB / 18.57 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 0.8079/0.8079, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] 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.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 254.4 MB, free: 4.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.324e-05, allocations: 6.25 kB / 254.4 MB, free: 4.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.009879/0.009892, allocations: 13.32 MB / 267.7 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.02173, allocations: 15.15 MB / 282.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.0218, allocations: 0 / 282.9 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.02203, allocations: 71.56 kB / 282.9 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.02227, allocations: 127 kB / 283.1 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009953/0.03223, allocations: 6 MB / 289.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.0325, allocations: 346.3 kB / 289.4 MB, free: 1.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.512e-05/0.03253, allocations: 10.47 kB / 289.4 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003091/0.03284, allocations: 271 kB / 289.7 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.559e-05/0.03294, allocations: 87.78 kB / 289.8 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.03296, allocations: 16 kB / 289.8 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006536/0.03949, allocations: 6.465 MB / 296.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.03955, allocations: 47.83 kB / 296.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.03961, allocations: 79.88 kB / 296.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.04354, allocations: 4.896 MB / 301.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.04354, allocations: 0 / 301.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.04354, allocations: 0 / 301.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.015e-06/0.04355, allocations: 0 / 301.3 MB, free: 5.348 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001295/0.04484, allocations: 0.9217 MB / 302.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.5e-05/0.04487, allocations: 15.98 kB / 302.2 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.04562, allocations: 323.9 kB / 302.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.04578, allocations: 165.5 kB / 302.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.04579, allocations: 16.88 kB / 302.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.04582, allocations: 28.36 kB / 302.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.0473, allocations: 1.008 MB / 303.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.04731, allocations: 3.938 kB / 303.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.04733, allocations: 12 kB / 303.8 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.04733, allocations: 4 kB / 303.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.04854, allocations: 0.7765 MB / 304.5 MB, free: 2 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006784/0.04922, allocations: 0.7629 MB / 305.3 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.05033, allocations: 0.7282 MB / 306 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.0504, allocations: 76.78 kB / 306.1 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3281/0.3785, allocations: 132.3 MB / 438.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3785, allocations: 48.89 kB / 438.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.3785, allocations: 0 / 438.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002115/0.3806, allocations: 1.236 MB / 439.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.3807, allocations: 55.41 kB / 439.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.3807, allocations: 135.2 kB / 439.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.3807, allocations: 33.58 kB / 439.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.3808, allocations: 111.4 kB / 440 MB, free: 8.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.3808, allocations: 118.8 kB / 440.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.381, allocations: 122 kB / 440.3 MB, free: 8.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.126e-05/0.381, allocations: 329.3 kB / 440.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3812, allocations: 287 kB / 440.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3814, allocations: 353 kB / 441.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.3818, allocations: 0.6379 MB / 441.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3818, allocations: 0 / 441.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004783/0.3823, allocations: 0.6527 MB / 442.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3823, allocations: 8 kB / 442.5 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3823, allocations: 4 kB / 442.5 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3823, allocations: 6.078 kB / 442.5 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.3826, allocations: 133 kB / 442.7 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3826, allocations: 7.984 kB / 442.7 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3827, allocations: 27.34 kB / 442.7 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.3827, allocations: 43.58 kB / 442.7 MB, free: 6.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.dew.phase,medium.bubble.phase,medium.bubble2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.3828, allocations: 137.7 kB / 442.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.3829, allocations: 23.55 kB / 442.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.3849, allocations: 4.423 MB / 447.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.3849, allocations: 31.7 kB / 447.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.3849, allocations: 0 / 447.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3849, allocations: 0 / 447.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.3856, allocations: 1.31 MB / 448.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3856, allocations: 0 / 448.7 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3859, allocations: 107.8 kB / 448.8 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3859, allocations: 0 / 448.8 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3859, allocations: 14.61 kB / 448.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3859, allocations: 0 / 448.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3859, allocations: 3 kB / 448.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.3865, allocations: 1.033 MB / 449.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.3866, allocations: 63.36 kB / 449.9 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.3866, allocations: 9.562 kB / 449.9 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3867, allocations: 14.78 kB / 449.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.3868, allocations: 31.44 kB / 449.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.3868, allocations: 11.36 kB / 449.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.839e-05/0.3868, allocations: 22.66 kB / 450 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3868, allocations: 0 / 450 MB, free: 15.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001559/0.3884, allocations: 0.9901 MB / 450.9 MB, free: 14.91 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002533/0.3909, allocations: 1.34 MB / 452.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.3915, allocations: 0.5856 MB / 452.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3915, allocations: 4.125 kB / 452.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.3917, allocations: 268.8 kB / 453.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.392, allocations: 109.6 kB / 453.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3933, allocations: 1.074 MB / 454.3 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.912e-05/0.3934, allocations: 144.6 kB / 454.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001185/0.3945, allocations: 1.786 MB / 456.2 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.3949, allocations: 166.1 kB / 456.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of SimCode: time 7.31e-07/0.3949, allocations: 0 / 456.4 MB, free: 9.785 MB / 346.7 MB Notification: Performance of Templates: time 0.1523/0.5472, allocations: 48.35 MB / 0.4929 GB, free: 123.1 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1715421308763325]