Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001068/0.001068, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001845/0.001845, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9613/0.9613, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2687/0.2687, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.776e-05, allocations: 5.406 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01641/0.01644, allocations: 13.96 MB / 392.1 MB, free: 4.535 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02804/0.04448, allocations: 26.19 MB / 418.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.04464, allocations: 7.938 kB / 418.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003726/0.04501, allocations: 83.44 kB / 418.3 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01887/0.06389, allocations: 8.667 MB / 427 MB, free: 1.457 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006662/0.06455, allocations: 370.7 kB / 427.4 MB, free: 1.094 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002744/0.0673, allocations: 2.053 MB / 429.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6e-05/0.06736, allocations: 20.58 kB / 429.4 MB, free: 15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004724/0.06783, allocations: 322.8 kB / 429.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.07174, allocations: 3.27 MB / 433 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.07178, allocations: 12 kB / 433 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.09054, allocations: 10.37 MB / 443.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.09062, allocations: 55.75 kB / 443.5 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.09078, allocations: 103.8 kB / 443.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1764/0.2672, allocations: 7.989 MB / 451.6 MB, free: 61.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2672, allocations: 1.031 kB / 451.6 MB, free: 61.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2672, allocations: 0 / 451.6 MB, free: 61.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2672, allocations: 0.5625 kB / 451.6 MB, free: 61.35 MB / 410.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.003099/0.2703, allocations: 1.618 MB / 453.2 MB, free: 60.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2703, allocations: 12.09 kB / 453.2 MB, free: 60.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009684/0.2713, allocations: 339.2 kB / 453.5 MB, free: 60.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.2715, allocations: 221.7 kB / 453.7 MB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2715, allocations: 25.78 kB / 453.8 MB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.2715, allocations: 33 kB / 453.8 MB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2728, allocations: 0.955 MB / 454.7 MB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2728, allocations: 3.469 kB / 454.7 MB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.2728, allocations: 22.69 kB / 454.8 MB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2728, allocations: 8.781 kB / 454.8 MB, free: 60.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.274, allocations: 0.8356 MB / 455.6 MB, free: 60.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.2754, allocations: 2.48 MB / 458.1 MB, free: 58.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.2761, allocations: 417 kB / 458.5 MB, free: 58.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.9e-05/0.2762, allocations: 67.08 kB / 458.6 MB, free: 58.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4765/0.7527, allocations: 161.8 MB / 0.6058 GB, free: 132.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.7538, allocations: 0.5166 MB / 0.6063 GB, free: 131.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.7538, allocations: 4.219 kB / 0.6063 GB, free: 131.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.002919/0.7567, allocations: 0.8633 MB / 0.6072 GB, free: 131.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.7568, allocations: 373.4 kB / 0.6075 GB, free: 131.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.7569, allocations: 259.8 kB / 0.6078 GB, free: 131.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.757, allocations: 33.58 kB / 0.6078 GB, free: 131.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.757, allocations: 238.6 kB / 0.608 GB, free: 131 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.7571, allocations: 119 kB / 0.6082 GB, free: 131 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.7572, allocations: 136.8 kB / 0.6083 GB, free: 130.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.7573, allocations: 0.5033 MB / 0.6088 GB, free: 130.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.7574, allocations: 93.98 kB / 0.6089 GB, free: 130.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.7577, allocations: 476.6 kB / 0.6093 GB, free: 130 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.7582, allocations: 0.6137 MB / 0.6099 GB, free: 129.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.7582, allocations: 6.219 kB / 0.6099 GB, free: 129.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007166/0.7589, allocations: 0.5153 MB / 0.6104 GB, free: 129.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7589, allocations: 11.53 kB / 0.6104 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.7589, allocations: 8.406 kB / 0.6105 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.7589, allocations: 18.05 kB / 0.6105 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.7592, allocations: 137.3 kB / 0.6106 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.7593, allocations: 19.98 kB / 0.6106 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005457/0.7647, allocations: 49.86 kB / 0.6107 GB, free: 129.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.7648, allocations: 44.19 kB / 0.6107 GB, free: 129.4 MB / 474.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.0001263/0.7649, allocations: 203 kB / 0.6109 GB, free: 129.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-05/0.765, allocations: 42.11 kB / 0.6109 GB, free: 129.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.7662, allocations: 1.505 MB / 0.6124 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7662, allocations: 25.12 kB / 0.6124 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7662, allocations: 3.438 kB / 0.6124 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.7663, allocations: 8.812 kB / 0.6124 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.7668, allocations: 0.7482 MB / 0.6132 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7668, allocations: 3.031 kB / 0.6132 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.767, allocations: 73.73 kB / 0.6133 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.767, allocations: 5.125 kB / 0.6133 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.7671, allocations: 9.938 kB / 0.6133 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.7671, allocations: 7.734 kB / 0.6133 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7671, allocations: 13.25 kB / 0.6133 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.7677, allocations: 0.6184 MB / 0.6139 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.7677, allocations: 57.67 kB / 0.6139 GB, free: 128.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-05/0.7678, allocations: 106.5 kB / 0.614 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.768, allocations: 16.09 kB / 0.6141 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.7681, allocations: 33.17 kB / 0.6141 GB, free: 128.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.7681, allocations: 19.28 kB / 0.6141 GB, free: 128.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.7692, allocations: 0.5203 MB / 0.6146 GB, free: 128.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7692, allocations: 1.375 kB / 0.6146 GB, free: 128.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007516/0.7767, allocations: 1.533 MB / 0.6161 GB, free: 128.1 MB / 474.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.01089/0.7876, allocations: 1.956 MB / 0.618 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005019/0.7881, allocations: 358.7 kB / 0.6184 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7881, allocations: 3.469 kB / 0.6184 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.7883, allocations: 178.2 kB / 0.6185 GB, free: 127.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006737/0.789, allocations: 233.4 kB / 0.6188 GB, free: 127.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9708/1.76, allocations: 0.6089 GB / 1.228 GB, free: 87.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/1.76, allocations: 171.3 kB / 1.228 GB, free: 87.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005296/1.76, allocations: 0.5215 MB / 1.228 GB, free: 86.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/1.76, allocations: 60.47 kB / 1.228 GB, free: 86.62 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/1.76, allocations: 0 / 1.228 GB, free: 86.62 MB / 474.7 MB Notification: Performance of Templates: time 0.04895/1.809, allocations: 68.12 MB / 1.295 GB, free: 18.8 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 8.518236306961626]