Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009449/0.0009449, 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.0009642/0.0009642, allocations: 173 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.991/0.991, allocations: 177.1 MB / 205.3 MB, free: 5.09 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.271/0.271, allocations: 32.8 MB / 294.6 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.092e-05, allocations: 6.25 kB / 323.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0117/0.01172, allocations: 13.97 MB / 337.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02133/0.03305, allocations: 26.12 MB / 363.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.03323, allocations: 0 / 363.4 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.03355, allocations: 95.28 kB / 363.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01681/0.05036, allocations: 7.932 MB / 371.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007325/0.05109, allocations: 358.8 kB / 371.8 MB, free: 8.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.05359, allocations: 2.048 MB / 373.8 MB, free: 6.906 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.05365, allocations: 18.55 kB / 373.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004687/0.05411, allocations: 326.8 kB / 374.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003377/0.05749, allocations: 3.27 MB / 377.4 MB, free: 3.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.05754, allocations: 12 kB / 377.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.0742, allocations: 11.95 MB / 389.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-05/0.0743, allocations: 55.75 kB / 389.5 MB, free: 7.215 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.07448, allocations: 103.8 kB / 389.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01501/0.08949, allocations: 8.551 MB / 398.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.0895, allocations: 0 / 398.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.0895, allocations: 0 / 398.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.0895, allocations: 0 / 398.1 MB, free: 14.54 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.003516/0.09302, allocations: 1.589 MB / 399.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.09306, allocations: 8.031 kB / 399.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.09416, allocations: 355.9 kB / 400 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.0944, allocations: 181.5 kB / 400.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.09442, allocations: 25.03 kB / 400.3 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.09446, allocations: 32.38 kB / 400.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.09573, allocations: 0.7882 MB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.09574, allocations: 7.938 kB / 401.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.09577, allocations: 16 kB / 401.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.09577, allocations: 8 kB / 401.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.09688, allocations: 0.6319 MB / 401.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.09868, allocations: 1.941 MB / 403.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.0994, allocations: 333.9 kB / 404 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.09945, allocations: 48.84 kB / 404 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3602/0.4597, allocations: 118.4 MB / 0.5102 GB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007702/0.4604, allocations: 443.5 kB / 0.5106 GB, free: 29.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.314e-06/0.4604, allocations: 0 / 0.5106 GB, free: 29.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001753/0.4622, allocations: 0.8643 MB / 0.5115 GB, free: 28.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.4622, allocations: 375.1 kB / 0.5118 GB, free: 28.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.904e-05/0.4623, allocations: 202.1 kB / 0.512 GB, free: 28.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4624, allocations: 29.33 kB / 0.5121 GB, free: 28.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.4624, allocations: 196.2 kB / 0.5122 GB, free: 28.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.4625, allocations: 112.7 kB / 0.5124 GB, free: 27.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.4626, allocations: 116.3 kB / 0.5125 GB, free: 27.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.4626, allocations: 332.3 kB / 0.5128 GB, free: 27.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.4627, allocations: 56.5 kB / 0.5128 GB, free: 27.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4628, allocations: 338.3 kB / 0.5132 GB, free: 27.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4631, allocations: 469.8 kB / 0.5136 GB, free: 26.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4631, allocations: 4 kB / 0.5136 GB, free: 26.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003825/0.4635, allocations: 368.7 kB / 0.514 GB, free: 26.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4635, allocations: 8.969 kB / 0.514 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.4635, allocations: 12 kB / 0.514 GB, free: 26.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.4636, allocations: 16 kB / 0.514 GB, free: 26.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.4638, allocations: 149.2 kB / 0.5141 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000187/0.464, allocations: 0.5973 MB / 0.5147 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.4642, allocations: 58.16 kB / 0.5148 GB, free: 25.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4642, allocations: 31.34 kB / 0.5148 GB, free: 25.45 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.000113/0.4644, allocations: 151.3 kB / 0.515 GB, free: 25.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.4644, allocations: 38.16 kB / 0.515 GB, free: 25.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/0.4652, allocations: 1.43 MB / 0.5164 GB, free: 24.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.4653, allocations: 22.42 kB / 0.5164 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4653, allocations: 4 kB / 0.5164 GB, free: 24.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4653, allocations: 8.359 kB / 0.5164 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.4657, allocations: 0.5572 MB / 0.517 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4657, allocations: 0 / 0.517 GB, free: 23.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4658, allocations: 70.66 kB / 0.517 GB, free: 23.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.4659, allocations: 122.9 kB / 0.5171 GB, free: 23.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.466, allocations: 11.67 kB / 0.5172 GB, free: 23.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002153/0.4662, allocations: 0.6099 MB / 0.5178 GB, free: 22.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4662, allocations: 0 / 0.5178 GB, free: 22.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.4666, allocations: 0.6068 MB / 0.5183 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.4667, allocations: 58.84 kB / 0.5184 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.4667, allocations: 90.95 kB / 0.5185 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4668, allocations: 19.8 kB / 0.5185 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.4669, allocations: 27.64 kB / 0.5185 GB, free: 21.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.4669, allocations: 11.5 kB / 0.5185 GB, free: 21.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.4671, allocations: 309.1 kB / 0.5188 GB, free: 21.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4671, allocations: 0 / 0.5188 GB, free: 21.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003471/0.4705, allocations: 1.634 MB / 0.5204 GB, free: 20.13 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.005172/0.4757, allocations: 2.258 MB / 0.5226 GB, free: 18.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005177/0.4762, allocations: 303.3 kB / 0.5229 GB, free: 17.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/0.4763, allocations: 12 kB / 0.5229 GB, free: 17.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4764, allocations: 165 kB / 0.5231 GB, free: 17.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.4769, allocations: 187.7 kB / 0.5233 GB, free: 17.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5803/1.057, allocations: 346.9 MB / 0.8621 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/1.057, allocations: 178.4 kB / 0.8622 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004891/1.058, allocations: 498.7 kB / 0.8627 GB, free: 106.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/1.058, allocations: 151.3 kB / 0.8629 GB, free: 106.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.984e-06/1.058, allocations: 0 / 0.8629 GB, free: 106.7 MB / 474.7 MB Notification: Performance of Templates: time 0.05308/1.111, allocations: 67.72 MB / 0.929 GB, free: 39.24 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.074646844062954]