Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009286/0.0009286, allocations: 88.86 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 161.8 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9337/0.9337, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 326 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.087e-05, allocations: 3.188 kB / 326 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01137/0.01139, allocations: 13.94 MB / 339.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01893/0.03032, allocations: 26.11 MB / 366 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.0305, allocations: 4 kB / 366 MB, free: 14.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.03082, allocations: 95.34 kB / 366.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01618/0.04699, allocations: 8.725 MB / 374.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.04766, allocations: 374.7 kB / 375.2 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.05018, allocations: 2.056 MB / 377.3 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.05023, allocations: 14.56 kB / 377.3 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.05063, allocations: 318.9 kB / 377.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/0.05431, allocations: 3.27 MB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.05434, allocations: 8 kB / 380.9 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.06917, allocations: 11.11 MB / 392 MB, free: 4.855 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.06927, allocations: 51.75 kB / 392 MB, free: 4.805 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.06944, allocations: 103.8 kB / 392.1 MB, free: 4.703 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01465/0.08409, allocations: 8.548 MB / 400.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.0841, allocations: 0 / 400.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.0841, allocations: 0 / 400.7 MB, free: 12.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.0841, allocations: 0 / 400.7 MB, free: 12.14 MB / 378.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.003527/0.08763, allocations: 1.593 MB / 402.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.08766, allocations: 8.031 kB / 402.3 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/0.08858, allocations: 351.9 kB / 402.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.0888, allocations: 181.5 kB / 402.8 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.08882, allocations: 25.03 kB / 402.8 MB, free: 9.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.08885, allocations: 32.38 kB / 402.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.08993, allocations: 0.7958 MB / 403.6 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.08994, allocations: 3.938 kB / 403.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.08997, allocations: 19.94 kB / 403.7 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.08998, allocations: 8 kB / 403.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009108/0.09089, allocations: 0.6268 MB / 404.3 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.09247, allocations: 1.937 MB / 406.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.09307, allocations: 337.1 kB / 406.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.09312, allocations: 44.83 kB / 406.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3483/0.4415, allocations: 118.4 MB / 0.5127 GB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006843/0.4421, allocations: 438.1 kB / 0.5131 GB, free: 25.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.4421, allocations: 0 / 0.5131 GB, free: 25.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001529/0.4437, allocations: 0.8667 MB / 0.514 GB, free: 24.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.4437, allocations: 386.6 kB / 0.5144 GB, free: 24.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.4438, allocations: 196 kB / 0.5145 GB, free: 24.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.4438, allocations: 32.33 kB / 0.5146 GB, free: 24.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.4439, allocations: 189.4 kB / 0.5148 GB, free: 23.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.4439, allocations: 121 kB / 0.5149 GB, free: 23.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.444, allocations: 109 kB / 0.515 GB, free: 23.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.444, allocations: 333.8 kB / 0.5153 GB, free: 23.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.4441, allocations: 63.61 kB / 0.5153 GB, free: 23.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4442, allocations: 334.5 kB / 0.5157 GB, free: 22.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.4445, allocations: 473.7 kB / 0.5161 GB, free: 22.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.4445, allocations: 0 / 0.5161 GB, free: 22.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002998/0.4448, allocations: 380.7 kB / 0.5165 GB, free: 22.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4448, allocations: 8 kB / 0.5165 GB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.4448, allocations: 8 kB / 0.5165 GB, free: 22.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4448, allocations: 14.94 kB / 0.5165 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.445, allocations: 131.2 kB / 0.5166 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001476/0.4452, allocations: 0.6035 MB / 0.5172 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.4454, allocations: 49.31 kB / 0.5173 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.4454, allocations: 35.41 kB / 0.5173 GB, free: 21.35 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state2.phase,state3.phase,state4.phase,state5.phase,medium.phase,state_h_is.phase,state.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): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.4455, allocations: 153.6 kB / 0.5175 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.4455, allocations: 35.66 kB / 0.5175 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/0.4464, allocations: 1.426 MB / 0.5189 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4464, allocations: 23.72 kB / 0.5189 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.4464, allocations: 0 / 0.5189 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.4464, allocations: 4 kB / 0.5189 GB, free: 19.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.4468, allocations: 0.5513 MB / 0.5194 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4468, allocations: 4 kB / 0.5194 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.447, allocations: 69.94 kB / 0.5195 GB, free: 19.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.4471, allocations: 127.6 kB / 0.5196 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4471, allocations: 18.03 kB / 0.5197 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001919/0.4473, allocations: 0.6071 MB / 0.5202 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4473, allocations: 0 / 0.5202 GB, free: 18.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.4476, allocations: 0.5969 MB / 0.5208 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.4477, allocations: 63.36 kB / 0.5209 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.4477, allocations: 94.64 kB / 0.521 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4479, allocations: 23.92 kB / 0.521 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.4479, allocations: 30.98 kB / 0.521 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.4479, allocations: 11.81 kB / 0.521 GB, free: 17.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.4481, allocations: 308.2 kB / 0.5213 GB, free: 17.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4481, allocations: 0 / 0.5213 GB, free: 17.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002936/0.451, allocations: 1.636 MB / 0.5229 GB, free: 16.04 MB / 410.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004746/0.4558, allocations: 2.239 MB / 0.5251 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.4562, allocations: 316.4 kB / 0.5254 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/0.4563, allocations: 15.06 kB / 0.5254 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4564, allocations: 161.2 kB / 0.5256 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4568, allocations: 192.8 kB / 0.5258 GB, free: 13.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5605/1.017, allocations: 346.9 MB / 0.8646 GB, free: 99.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.976e-05/1.017, allocations: 175.4 kB / 0.8647 GB, free: 99.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004326/1.018, allocations: 0.4993 MB / 0.8652 GB, free: 98.92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/1.018, allocations: 147.3 kB / 0.8654 GB, free: 98.77 MB / 474.7 MB Notification: Performance of SimCode: time 2.154e-06/1.018, allocations: 0 / 0.8654 GB, free: 98.77 MB / 474.7 MB Notification: Performance of Templates: time 0.05112/1.069, allocations: 67.7 MB / 0.9315 GB, free: 31.33 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_pT/WaterIF97_pT.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: 7.017029235139489]