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.001366/0.001366, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001808/0.001808, allocations: 170.3 kB / 24.91 MB, free: 8.766 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 1.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2489/0.2489, allocations: 34.26 MB / 296.1 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_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.283e-06/1.283e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.322e-05, allocations: 2.859 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0119/0.01191, allocations: 13.98 MB / 339.3 MB, free: 9.598 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0204/0.0323, allocations: 26.11 MB / 365.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.03243, allocations: 7.938 kB / 365.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.03271, allocations: 87.42 kB / 365.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01614/0.04885, allocations: 7.932 MB / 373.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.04956, allocations: 362.7 kB / 373.8 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.05237, allocations: 2.051 MB / 375.9 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.294e-05/0.05243, allocations: 18.55 kB / 375.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.05289, allocations: 318.8 kB / 376.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.05626, allocations: 3.27 MB / 379.5 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.0563, allocations: 8 kB / 379.5 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0178/0.0741, allocations: 11.96 MB / 391.4 MB, free: 5.262 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.07419, allocations: 51.7 kB / 391.5 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.07431, allocations: 107.8 kB / 391.6 MB, free: 5.105 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02242/0.09673, allocations: 8.551 MB / 400.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.09674, allocations: 0 / 400.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.09674, allocations: 0 / 400.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.09675, allocations: 0 / 400.1 MB, free: 12.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.004597/0.1013, allocations: 1.581 MB / 401.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1014, allocations: 12.03 kB / 401.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.1025, allocations: 343.9 kB / 402.1 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1027, allocations: 193.4 kB / 402.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1028, allocations: 21.03 kB / 402.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1028, allocations: 36.38 kB / 402.3 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.104, allocations: 0.7832 MB / 403.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.104, allocations: 7.938 kB / 403.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1041, allocations: 16 kB / 403.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1041, allocations: 12 kB / 403.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1051, allocations: 0.636 MB / 403.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.1069, allocations: 1.93 MB / 405.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.1076, allocations: 337.9 kB / 406 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.1077, allocations: 40.84 kB / 406.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3675/0.4752, allocations: 118.4 MB / 0.5122 GB, free: 26.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.476, allocations: 447.7 kB / 0.5126 GB, free: 26.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.476, allocations: 0 / 0.5126 GB, free: 26.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001735/0.4777, allocations: 0.8601 MB / 0.5135 GB, free: 25.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.4778, allocations: 375.6 kB / 0.5138 GB, free: 25.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.4778, allocations: 207.3 kB / 0.514 GB, free: 24.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4779, allocations: 33.58 kB / 0.514 GB, free: 24.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.4779, allocations: 189.4 kB / 0.5142 GB, free: 24.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.478, allocations: 116.3 kB / 0.5143 GB, free: 24.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.4781, allocations: 107.6 kB / 0.5144 GB, free: 24.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.094e-05/0.4781, allocations: 333 kB / 0.5148 GB, free: 24.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.4782, allocations: 64.88 kB / 0.5148 GB, free: 24.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.4783, allocations: 334.3 kB / 0.5151 GB, free: 23.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.4786, allocations: 471.1 kB / 0.5156 GB, free: 23.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4786, allocations: 6.625 kB / 0.5156 GB, free: 23.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003176/0.4789, allocations: 364.4 kB / 0.5159 GB, free: 22.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.4789, allocations: 8 kB / 0.5159 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4789, allocations: 14.75 kB / 0.516 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4789, allocations: 12 kB / 0.516 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.4792, allocations: 151.8 kB / 0.5161 GB, free: 22.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000151/0.4793, allocations: 0.5951 MB / 0.5167 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.4795, allocations: 49.23 kB / 0.5167 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.4795, allocations: 35.78 kB / 0.5168 GB, free: 22.07 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 9.589e-05/0.4796, allocations: 160.3 kB / 0.5169 GB, free: 21.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.4797, allocations: 39.48 kB / 0.517 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.4805, allocations: 1.423 MB / 0.5184 GB, free: 20.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4805, allocations: 19.47 kB / 0.5184 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.4805, allocations: 4 kB / 0.5184 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.4805, allocations: 7.984 kB / 0.5184 GB, free: 20.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/0.4809, allocations: 0.561 MB / 0.5189 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4809, allocations: 4 kB / 0.5189 GB, free: 20.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.481, allocations: 66.56 kB / 0.519 GB, free: 20.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-05/0.4811, allocations: 124.7 kB / 0.5191 GB, free: 20.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4812, allocations: 11.48 kB / 0.5191 GB, free: 20.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001654/0.4813, allocations: 0.6042 MB / 0.5197 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4813, allocations: 11.31 kB / 0.5197 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.4817, allocations: 0.5923 MB / 0.5203 GB, free: 18.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.4817, allocations: 58.98 kB / 0.5204 GB, free: 18.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.4818, allocations: 102.3 kB / 0.5205 GB, free: 18.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4819, allocations: 19.48 kB / 0.5205 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.482, allocations: 29.48 kB / 0.5205 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.482, allocations: 19.92 kB / 0.5205 GB, free: 18.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.4821, allocations: 304.6 kB / 0.5208 GB, free: 18.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4821, allocations: 1.641 kB / 0.5208 GB, free: 18.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003099/0.4852, allocations: 1.634 MB / 0.5224 GB, free: 16.75 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.004476/0.4897, allocations: 2.239 MB / 0.5246 GB, free: 14.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004412/0.4902, allocations: 311.9 kB / 0.5249 GB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/0.4902, allocations: 12 kB / 0.5249 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.4903, allocations: 172.6 kB / 0.5251 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.4907, allocations: 190.8 kB / 0.5253 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5728/1.064, allocations: 346.9 MB / 0.864 GB, free: 100.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/1.064, allocations: 179.4 kB / 0.8642 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/1.064, allocations: 498.1 kB / 0.8647 GB, free: 100.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/1.064, allocations: 151.3 kB / 0.8648 GB, free: 100.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.154e-06/1.064, allocations: 4 kB / 0.8648 GB, free: 100.1 MB / 474.7 MB Notification: Performance of Templates: time 0.0666/1.131, allocations: 67.72 MB / 0.931 GB, free: 32.64 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 -s gbode -gbm=radauIIA3 -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.853631278965622]