Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.001876/0.001876, allocations: 87.67 kB / 20.21 MB, free: 4.203 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.001872/0.001872, allocations: 165.2 kB / 23.53 MB, free: 0.8906 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 1.5/1.5, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 32.39 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 347 MB, free: 9.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.01e-05, allocations: 2.312 kB / 347 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01599/0.01602, allocations: 13.81 MB / 360.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.04105/0.05707, allocations: 26.12 MB / 386.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.05734, allocations: 8 kB / 386.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.05783, allocations: 87.38 kB / 387 MB, free: 1.578 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03097/0.0888, allocations: 8.583 MB / 395.6 MB, free: 8.961 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.09007, allocations: 354.6 kB / 395.9 MB, free: 8.613 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005968/0.09604, allocations: 2.033 MB / 398 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.09611, allocations: 16.59 kB / 398 MB, free: 6.539 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007438/0.09685, allocations: 314.9 kB / 398.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00871/0.1056, allocations: 3.254 MB / 401.6 MB, free: 2.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.1057, allocations: 12 kB / 401.6 MB, free: 2.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0256/0.1313, allocations: 10.32 MB / 411.9 MB, free: 8.574 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.1314, allocations: 59.73 kB / 411.9 MB, free: 8.516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.1317, allocations: 99.78 kB / 412 MB, free: 8.418 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02422/0.1559, allocations: 8.002 MB / 420 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.1559, allocations: 0 / 420 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1559, allocations: 0 / 420 MB, free: 408 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.156, allocations: 4 kB / 420.1 MB, free: 404 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.006377/0.1623, allocations: 1.617 MB / 421.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.442e-05/0.1624, allocations: 8.031 kB / 421.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.1645, allocations: 339.9 kB / 422 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.1651, allocations: 216.2 kB / 422.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.1652, allocations: 29.03 kB / 422.2 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.216e-05/0.1653, allocations: 32.31 kB / 422.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.1681, allocations: 0.9247 MB / 423.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.1681, allocations: 7.875 kB / 423.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.1681, allocations: 16 kB / 423.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.1682, allocations: 8 kB / 423.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.1707, allocations: 0.9235 MB / 424.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004379/0.175, allocations: 2.531 MB / 426.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1765, allocations: 378.7 kB / 427.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1767, allocations: 75.64 kB / 427.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7726/0.9492, allocations: 159.4 MB / 0.5728 GB, free: 40 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.9511, allocations: 0.5105 MB / 0.5733 GB, free: 15.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.9511, allocations: 0 / 0.5733 GB, free: 15.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.003377/0.9545, allocations: 0.8281 MB / 0.5741 GB, free: 14.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003685/0.9549, allocations: 379.7 kB / 0.5745 GB, free: 14.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.9552, allocations: 267.7 kB / 0.5747 GB, free: 13.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.9553, allocations: 29.7 kB / 0.5748 GB, free: 13.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002435/0.9555, allocations: 241.6 kB / 0.575 GB, free: 13.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.9557, allocations: 120.2 kB / 0.5751 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.9559, allocations: 139.8 kB / 0.5752 GB, free: 13.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003708/0.9563, allocations: 0.504 MB / 0.5757 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.9565, allocations: 76.94 kB / 0.5758 GB, free: 12.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.9572, allocations: 464 kB / 0.5762 GB, free: 12.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009572/0.9582, allocations: 0.5806 MB / 0.5768 GB, free: 11.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.9582, allocations: 4 kB / 0.5768 GB, free: 11.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001094/0.9593, allocations: 493 kB / 0.5773 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.9593, allocations: 8 kB / 0.5773 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.9593, allocations: 8 kB / 0.5773 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/0.9594, allocations: 16 kB / 0.5773 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.9599, allocations: 139.7 kB / 0.5774 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/0.9599, allocations: 23.86 kB / 0.5775 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.9603, allocations: 47.67 kB / 0.5775 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.9604, allocations: 44.38 kB / 0.5776 GB, free: 10.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.000265/0.9606, allocations: 208.3 kB / 0.5778 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.9608, allocations: 43.8 kB / 0.5778 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002314/0.9631, allocations: 1.491 MB / 0.5793 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/0.9631, allocations: 15.98 kB / 0.5793 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.9631, allocations: 7.938 kB / 0.5793 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.9631, allocations: 7.984 kB / 0.5793 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.9643, allocations: 0.7435 MB / 0.58 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.9643, allocations: 4 kB / 0.58 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.9647, allocations: 67.88 kB / 0.5801 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.9647, allocations: 7.109 kB / 0.5801 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.9647, allocations: 16 kB / 0.5801 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/0.9647, allocations: 7.984 kB / 0.5801 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.9647, allocations: 4 kB / 0.5801 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.9659, allocations: 0.661 MB / 0.5808 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.966, allocations: 59.52 kB / 0.5808 GB, free: 7.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.9662, allocations: 103 kB / 0.5809 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.9665, allocations: 19.98 kB / 0.5809 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.9666, allocations: 31.89 kB / 0.581 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.9666, allocations: 16 kB / 0.581 GB, free: 7.035 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008508/0.9674, allocations: 0.5742 MB / 0.5815 GB, free: 6.449 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.9674, allocations: 4 kB / 0.5815 GB, free: 6.445 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006535/0.974, allocations: 1.52 MB / 0.583 GB, free: 4.922 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01009/0.9841, allocations: 1.952 MB / 0.5849 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.9852, allocations: 357.3 kB / 0.5853 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.9852, allocations: 4.062 kB / 0.5853 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.9855, allocations: 194.4 kB / 0.5855 GB, free: 2.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.9867, allocations: 237.5 kB / 0.5857 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.435/2.421, allocations: 0.6002 GB / 1.186 GB, free: 40.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/2.422, allocations: 396.3 kB / 1.186 GB, free: 40.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006927/2.422, allocations: 0.5295 MB / 1.187 GB, free: 39.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/2.422, allocations: 56.47 kB / 1.187 GB, free: 39.5 MB / 426.7 MB Notification: Performance of SimCode: time 2.515e-06/2.422, allocations: 0 / 1.187 GB, free: 39.5 MB / 426.7 MB Notification: Performance of Templates: time 0.2029/2.625, allocations: 57.17 MB / 1.243 GB, free: 141.7 MB / 426.7 MB " [Timeout remaining time 657] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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: 11.542535893036984]