Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.0009452/0.0009452, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001365/0.001365, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 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.9971/0.9971, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1365/0.1365, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.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_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 325.3 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.439e-05/1.549e-05, allocations: 8.984 kB / 325.3 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01357/0.01359, allocations: 13.92 MB / 339.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1703/0.1839, allocations: 26.11 MB / 365.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.1841, allocations: 3.938 kB / 365.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.1844, allocations: 93.67 kB / 365.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02198/0.2064, allocations: 8.731 MB / 374.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.2072, allocations: 366.7 kB / 374.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002501/0.2097, allocations: 2.064 MB / 376.6 MB, free: 244 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.576e-05/0.2098, allocations: 18.55 kB / 376.6 MB, free: 228 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004768/0.2103, allocations: 310.8 kB / 376.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.2144, allocations: 3.274 MB / 380.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.2144, allocations: 8 kB / 380.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01877/0.2332, allocations: 11.11 MB / 391.3 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.2333, allocations: 55.69 kB / 391.3 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.2335, allocations: 99.77 kB / 391.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.2536, allocations: 8.548 MB / 400 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.2536, allocations: 0 / 400 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2536, allocations: 0 / 400 MB, free: 8.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2537, allocations: 4 kB / 400 MB, free: 8.734 MB / 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.004522/0.2582, allocations: 1.589 MB / 401.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2582, allocations: 8.031 kB / 401.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.2592, allocations: 344 kB / 401.9 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.2595, allocations: 201.9 kB / 402.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2595, allocations: 21.03 kB / 402.1 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.2595, allocations: 36.38 kB / 402.2 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.2607, allocations: 0.7873 MB / 403 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2607, allocations: 0 / 403 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.2607, allocations: 23.94 kB / 403 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2608, allocations: 11.05 kB / 403 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2621, allocations: 0.6314 MB / 403.6 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.2644, allocations: 1.934 MB / 405.6 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.2653, allocations: 322.8 kB / 405.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/0.2653, allocations: 52.75 kB / 405.9 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4089/0.6742, allocations: 118.4 MB / 0.5121 GB, free: 139.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000773/0.675, allocations: 444 kB / 0.5125 GB, free: 139 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.675, allocations: 1.031 kB / 0.5125 GB, free: 139 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.001714/0.6767, allocations: 0.8614 MB / 0.5133 GB, free: 139 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.6767, allocations: 375.4 kB / 0.5137 GB, free: 138.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.6768, allocations: 202.3 kB / 0.5139 GB, free: 138.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.6769, allocations: 34.58 kB / 0.5139 GB, free: 138.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.6769, allocations: 194.6 kB / 0.5141 GB, free: 138.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.677, allocations: 109.9 kB / 0.5142 GB, free: 138.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.6771, allocations: 109.1 kB / 0.5143 GB, free: 138.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.6771, allocations: 336.3 kB / 0.5146 GB, free: 137.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.6772, allocations: 69.81 kB / 0.5147 GB, free: 137.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.6773, allocations: 327.8 kB / 0.515 GB, free: 137.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.6777, allocations: 477.9 kB / 0.5154 GB, free: 137.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.6777, allocations: 6.625 kB / 0.5155 GB, free: 137.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000384/0.678, allocations: 368.6 kB / 0.5158 GB, free: 137.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6781, allocations: 9.781 kB / 0.5158 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.6781, allocations: 10.28 kB / 0.5158 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6781, allocations: 15.06 kB / 0.5158 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.6783, allocations: 133.5 kB / 0.516 GB, free: 137.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/0.6785, allocations: 0.597 MB / 0.5166 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.6786, allocations: 53.56 kB / 0.5166 GB, free: 136.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.6787, allocations: 32.44 kB / 0.5166 GB, free: 136.6 MB / 458.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 9.647e-05/0.6788, allocations: 155.7 kB / 0.5168 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.6788, allocations: 32.84 kB / 0.5168 GB, free: 136.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/0.6797, allocations: 1.426 MB / 0.5182 GB, free: 136.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6797, allocations: 23.23 kB / 0.5182 GB, free: 136.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6797, allocations: 3.094 kB / 0.5182 GB, free: 136.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.6797, allocations: 5.047 kB / 0.5182 GB, free: 136.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.6801, allocations: 0.5506 MB / 0.5188 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6801, allocations: 4.562 kB / 0.5188 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.6803, allocations: 65.61 kB / 0.5188 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.6804, allocations: 128.6 kB / 0.519 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6804, allocations: 10.12 kB / 0.519 GB, free: 135.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000175/0.6806, allocations: 0.6041 MB / 0.5196 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.6806, allocations: 9.469 kB / 0.5196 GB, free: 135.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.681, allocations: 0.5987 MB / 0.5202 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.681, allocations: 68.75 kB / 0.5202 GB, free: 135.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.58e-05/0.6811, allocations: 99.19 kB / 0.5203 GB, free: 135 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.6812, allocations: 20.41 kB / 0.5203 GB, free: 135 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.6812, allocations: 30.12 kB / 0.5204 GB, free: 135 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.6813, allocations: 13.14 kB / 0.5204 GB, free: 135 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.6815, allocations: 303.8 kB / 0.5207 GB, free: 135 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6815, allocations: 0 / 0.5207 GB, free: 135 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003207/0.6847, allocations: 1.635 MB / 0.5223 GB, free: 135 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: 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.004236/0.6889, allocations: 2.269 MB / 0.5245 GB, free: 134.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003455/0.6893, allocations: 301.3 kB / 0.5248 GB, free: 134.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/0.6893, allocations: 8.938 kB / 0.5248 GB, free: 134.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.6894, allocations: 170.5 kB / 0.5249 GB, free: 134.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.6898, allocations: 189.2 kB / 0.5251 GB, free: 134.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5615/1.251, allocations: 346.9 MB / 0.8639 GB, free: 150.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/1.251, allocations: 173.6 kB / 0.8641 GB, free: 150.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007453/1.252, allocations: 0.4974 MB / 0.8645 GB, free: 150.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/1.252, allocations: 149.1 kB / 0.8647 GB, free: 150.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/1.252, allocations: 0.5312 kB / 0.8647 GB, free: 150.7 MB / 474.7 MB Notification: Performance of Templates: time 0.05929/1.312, allocations: 67.72 MB / 0.9308 GB, free: 98.77 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 6.776360699906945]