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.001688/0.001688, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001634/0.001634, allocations: 165 kB / 23.79 MB, free: 0.7812 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.9291/0.9291, allocations: 158.6 MB / 185.7 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] 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.1863/0.1863, allocations: 32.38 MB / 270.4 MB, free: 14.71 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 2.886e-06/2.886e-06, allocations: 0 / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.111e-05, allocations: 6.25 kB / 347.7 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01368/0.01372, allocations: 13.86 MB / 361.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02182/0.03554, allocations: 26.19 MB / 387.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.03577, allocations: 0 / 387.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.03617, allocations: 87.48 kB / 387.9 MB, free: 1.109 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02261/0.05877, allocations: 8.642 MB / 396.5 MB, free: 8.43 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008996/0.05967, allocations: 370.8 kB / 396.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004182/0.06386, allocations: 2.06 MB / 398.9 MB, free: 5.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.06393, allocations: 12.59 kB / 398.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000576/0.06451, allocations: 318.9 kB / 399.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004202/0.06871, allocations: 3.266 MB / 402.5 MB, free: 2.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.06877, allocations: 12 kB / 402.5 MB, free: 2.324 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.08656, allocations: 10.34 MB / 412.9 MB, free: 7.973 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.08669, allocations: 55.73 kB / 412.9 MB, free: 7.918 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.08692, allocations: 103.8 kB / 413 MB, free: 7.816 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02103/0.1079, allocations: 7.971 MB / 421 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.108, allocations: 4 kB / 421 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.108, allocations: 0 / 421 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.108, allocations: 0 / 421 MB, free: 15.82 MB / 362.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.005533/0.1135, allocations: 1.605 MB / 422.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1136, allocations: 16.03 kB / 422.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/0.115, allocations: 339.9 kB / 422.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.1155, allocations: 224.1 kB / 423.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.1156, allocations: 21.03 kB / 423.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1156, allocations: 32.38 kB / 423.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.1175, allocations: 0.9525 MB / 424.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1175, allocations: 11.86 kB / 424.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.1175, allocations: 19.98 kB / 424.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1176, allocations: 12 kB / 424.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.1193, allocations: 0.8309 MB / 425 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.1218, allocations: 2.485 MB / 427.5 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1228, allocations: 417.5 kB / 427.9 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.123, allocations: 63.66 kB / 428 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5195/0.6425, allocations: 159.4 MB / 0.5736 GB, free: 9.551 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009587/0.6435, allocations: 0.5235 MB / 0.5742 GB, free: 9.023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.415e-06/0.6435, allocations: 1.75 kB / 0.5742 GB, free: 9.023 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001795/0.6453, allocations: 0.8635 MB / 0.575 GB, free: 8.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.6454, allocations: 379 kB / 0.5754 GB, free: 7.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.6456, allocations: 258.3 kB / 0.5756 GB, free: 7.547 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.6456, allocations: 32.22 kB / 0.5756 GB, free: 7.512 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.6457, allocations: 232.2 kB / 0.5759 GB, free: 7.277 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.6458, allocations: 116.3 kB / 0.576 GB, free: 7.168 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.6459, allocations: 135.8 kB / 0.5761 GB, free: 7.027 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000503/0.6464, allocations: 0.5001 MB / 0.5766 GB, free: 6.516 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.6465, allocations: 92.91 kB / 0.5767 GB, free: 6.426 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.6469, allocations: 483.7 kB / 0.5771 GB, free: 5.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.6474, allocations: 0.6119 MB / 0.5777 GB, free: 5.047 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.6474, allocations: 4 kB / 0.5777 GB, free: 5.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006244/0.648, allocations: 0.5144 MB / 0.5782 GB, free: 4.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.648, allocations: 8 kB / 0.5782 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6481, allocations: 11.94 kB / 0.5783 GB, free: 4.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.6481, allocations: 16 kB / 0.5783 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.6483, allocations: 142.2 kB / 0.5784 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.6483, allocations: 15.28 kB / 0.5784 GB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.6485, allocations: 54.58 kB / 0.5785 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.6486, allocations: 47.97 kB / 0.5785 GB, free: 4.312 MB / 442.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.0001418/0.6487, allocations: 194.5 kB / 0.5787 GB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.6488, allocations: 38.91 kB / 0.5787 GB, free: 4.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.65, allocations: 1.515 MB / 0.5802 GB, free: 2.594 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.6501, allocations: 19.97 kB / 0.5802 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.6501, allocations: 7.516 kB / 0.5802 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.6501, allocations: 4 kB / 0.5803 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.6508, allocations: 0.7448 MB / 0.581 GB, free: 1.793 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.6508, allocations: 4 kB / 0.581 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.6509, allocations: 67.22 kB / 0.581 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.6509, allocations: 4 kB / 0.5811 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.6509, allocations: 16.2 kB / 0.5811 GB, free: 1.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.6509, allocations: 15.03 kB / 0.5811 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6509, allocations: 4 kB / 0.5811 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/0.6515, allocations: 0.6282 MB / 0.5817 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.6516, allocations: 51.52 kB / 0.5817 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.6517, allocations: 103 kB / 0.5818 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.6518, allocations: 22.48 kB / 0.5819 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.6518, allocations: 37.11 kB / 0.5819 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.6519, allocations: 11.98 kB / 0.5819 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004161/0.6523, allocations: 0.5234 MB / 0.5824 GB, free: 252 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6523, allocations: 0 / 0.5824 GB, free: 252 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.004919/0.6572, allocations: 1.524 MB / 0.5839 GB, free: 14.72 MB / 458.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.004284/0.6615, allocations: 1.94 MB / 0.5858 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004542/0.6619, allocations: 357.9 kB / 0.5862 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6619, allocations: 0 / 0.5862 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.6621, allocations: 177.8 kB / 0.5863 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.6627, allocations: 234 kB / 0.5865 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.304/1.967, allocations: 0.6065 GB / 1.193 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/1.967, allocations: 171.8 kB / 1.193 GB, free: 121.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006618/1.967, allocations: 0.5198 MB / 1.194 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/1.967, allocations: 60.47 kB / 1.194 GB, free: 121.2 MB / 458.7 MB Notification: Performance of SimCode: time 3.647e-06/1.967, allocations: 0 / 1.194 GB, free: 121.2 MB / 458.7 MB Notification: Performance of Templates: time 0.06549/2.033, allocations: 67.89 MB / 1.26 GB, free: 53.49 MB / 458.7 MB " [Timeout remaining time 658] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.30513012362644]