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.001431/0.001431, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001535/0.001535, allocations: 166.9 kB / 25.61 MB, free: 8.91 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.8794/0.8794, allocations: 158.6 MB / 187.5 MB, free: 2.793 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.553e-06/1.553e-06, allocations: 0 / 254.3 MB, free: 4.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.455e-05, allocations: 2.312 kB / 254.3 MB, free: 4.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01225/0.01228, allocations: 13.21 MB / 267.6 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.02572, allocations: 14.92 MB / 282.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.02589, allocations: 7.938 kB / 282.5 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.02625, allocations: 67.58 kB / 282.6 MB, free: 8.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.02657, allocations: 119.1 kB / 282.7 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.03887, allocations: 5.972 MB / 288.6 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.03931, allocations: 350.3 kB / 289 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.03936, allocations: 9.812 kB / 289 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.03981, allocations: 267.1 kB / 289.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.03993, allocations: 87.78 kB / 289.3 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.03995, allocations: 16 kB / 289.4 MB, free: 1.199 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009676/0.04963, allocations: 6.473 MB / 295.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.705e-05/0.04973, allocations: 47.83 kB / 295.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.05014, allocations: 75.89 kB / 295.9 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.06052, allocations: 4.899 MB / 300.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.06053, allocations: 0 / 300.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.06053, allocations: 0 / 300.8 MB, free: 5.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.06054, allocations: 0 / 300.8 MB, free: 5.688 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.002383/0.06292, allocations: 1.035 MB / 301.9 MB, free: 4.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.06296, allocations: 15.98 kB / 301.9 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.06382, allocations: 288 kB / 302.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.06404, allocations: 204.2 kB / 302.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.06406, allocations: 12.88 kB / 302.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.06409, allocations: 24.38 kB / 302.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.06591, allocations: 1.042 MB / 303.5 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.06592, allocations: 3.938 kB / 303.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.06594, allocations: 11.98 kB / 303.5 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.06595, allocations: 8 kB / 303.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.06729, allocations: 0.8559 MB / 304.3 MB, free: 2.098 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.0009071/0.0682, allocations: 1.03 MB / 305.4 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.06942, allocations: 0.795 MB / 306.2 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.968e-05/0.0695, allocations: 95.56 kB / 306.3 MB, free: 124 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03008/0.09958, allocations: 17.33 MB / 323.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.09962, allocations: 45.39 kB / 323.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.454e-06/0.09963, allocations: 0 / 323.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.003779/0.1034, allocations: 1.397 MB / 325 MB, free: 13.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1034, allocations: 55.41 kB / 325.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.1035, allocations: 189.8 kB / 325.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1036, allocations: 33.7 kB / 325.3 MB, free: 13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.1037, allocations: 163.5 kB / 325.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1038, allocations: 118.9 kB / 325.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.104, allocations: 175.1 kB / 325.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1041, allocations: 0.5039 MB / 326.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.1045, allocations: 347.7 kB / 326.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.105, allocations: 452.3 kB / 327 MB, free: 11.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008346/0.1058, allocations: 0.7494 MB / 327.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1058, allocations: 0 / 327.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001253/0.1071, allocations: 0.8951 MB / 328.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1071, allocations: 8 kB / 328.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1071, allocations: 0 / 328.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1071, allocations: 4 kB / 328.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.1075, allocations: 175.8 kB / 328.9 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.1075, allocations: 7.984 kB / 328.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.1077, allocations: 28.05 kB / 328.9 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-05/0.1078, allocations: 67.92 kB / 329 MB, free: 9.234 MB / 314.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.0001742/0.108, allocations: 184.8 kB / 329.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.1081, allocations: 23.95 kB / 329.2 MB, free: 9.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.1122, allocations: 4.47 MB / 333.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.1122, allocations: 31.89 kB / 333.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1122, allocations: 0 / 333.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1122, allocations: 3.984 kB / 333.7 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.1136, allocations: 1.895 MB / 335.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1136, allocations: 0 / 335.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.114, allocations: 111.8 kB / 335.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.114, allocations: 0 / 335.7 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.114, allocations: 8 kB / 335.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.114, allocations: 8 kB / 335.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.114, allocations: 0 / 335.7 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.1152, allocations: 1.166 MB / 336.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.1153, allocations: 75.25 kB / 336.9 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.1153, allocations: 4 kB / 336.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1155, allocations: 12 kB / 336.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/0.1156, allocations: 31.94 kB / 337 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.1156, allocations: 11.98 kB / 337 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.1156, allocations: 131.2 kB / 337.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1156, allocations: 0 / 337.1 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002578/0.1182, allocations: 0.9864 MB / 338.1 MB, free: 15.81 MB / 330.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.00356/0.1218, allocations: 1.305 MB / 339.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009129/0.1227, allocations: 0.7071 MB / 340.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1227, allocations: 0 / 340.1 MB, free: 13.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003503/0.123, allocations: 319.3 kB / 340.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.1236, allocations: 104.5 kB / 340.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.1252, allocations: 1.09 MB / 341.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1253, allocations: 148.6 kB / 341.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001632/0.1269, allocations: 1.778 MB / 343.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.1274, allocations: 226 kB / 343.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1274, allocations: 0 / 343.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of Templates: time 0.1439/0.2713, allocations: 49.34 MB / 393.1 MB, free: 51.2 MB / 330.7 MB " [Timeout remaining time 660] 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.385424997191876]