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.001068/0.001068, 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.001247/0.001247, allocations: 170 kB / 24.91 MB, free: 9.199 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.994/0.994, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2749/0.2749, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.323e-06/1.323e-06, allocations: 0 / 323.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.242e-05, allocations: 6.312 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01371/0.01373, allocations: 13.93 MB / 337.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02219/0.03592, allocations: 26.12 MB / 363.3 MB, free: 1.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.03613, allocations: 4 kB / 363.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.03647, allocations: 79.48 kB / 363.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02048/0.05695, allocations: 8.743 MB / 372.2 MB, free: 8.566 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.05799, allocations: 366.7 kB / 372.5 MB, free: 8.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003007/0.061, allocations: 2.048 MB / 374.6 MB, free: 6.133 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.06106, allocations: 18.55 kB / 374.6 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004803/0.06154, allocations: 322.8 kB / 374.9 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003964/0.06551, allocations: 3.27 MB / 378.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.06555, allocations: 8 kB / 378.2 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01736/0.08291, allocations: 11.11 MB / 389.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.08301, allocations: 55.73 kB / 389.3 MB, free: 7.289 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.0832, allocations: 91.78 kB / 389.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.1016, allocations: 8.559 MB / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1016, allocations: 0 / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1016, allocations: 0 / 398 MB, free: 14.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1016, allocations: 4 kB / 398 MB, free: 14.62 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.004225/0.1058, allocations: 1.585 MB / 399.6 MB, free: 13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1058, allocations: 8.031 kB / 399.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.1072, allocations: 347.9 kB / 399.9 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.1075, allocations: 193.5 kB / 400.1 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1075, allocations: 21.03 kB / 400.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.1075, allocations: 36.38 kB / 400.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.109, allocations: 0.7881 MB / 401 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.109, allocations: 3.938 kB / 401 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1091, allocations: 16 kB / 401 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1091, allocations: 8 kB / 401 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.1107, allocations: 0.6359 MB / 401.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.1129, allocations: 1.937 MB / 403.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008765/0.1138, allocations: 330 kB / 403.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.028e-05/0.1139, allocations: 40.83 kB / 403.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3504/0.4643, allocations: 118.4 MB / 0.5101 GB, free: 30.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007216/0.465, allocations: 445 kB / 0.5105 GB, free: 29.86 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.465, allocations: 0 / 0.5105 GB, free: 29.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.00163/0.4666, allocations: 0.8695 MB / 0.5114 GB, free: 29.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.4667, allocations: 377.6 kB / 0.5117 GB, free: 28.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.4668, allocations: 206.8 kB / 0.5119 GB, free: 28.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.4668, allocations: 28.27 kB / 0.5119 GB, free: 28.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.4669, allocations: 192.6 kB / 0.5121 GB, free: 28.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.4669, allocations: 115.4 kB / 0.5122 GB, free: 28.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.467, allocations: 114 kB / 0.5124 GB, free: 28.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.625e-05/0.4671, allocations: 329.9 kB / 0.5127 GB, free: 27.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.4671, allocations: 64.73 kB / 0.5127 GB, free: 27.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.4673, allocations: 335.2 kB / 0.513 GB, free: 27.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.4676, allocations: 473.3 kB / 0.5135 GB, free: 26.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.4676, allocations: 4 kB / 0.5135 GB, free: 26.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003147/0.4679, allocations: 374.5 kB / 0.5139 GB, free: 26.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4679, allocations: 8 kB / 0.5139 GB, free: 26.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4679, allocations: 12.55 kB / 0.5139 GB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4679, allocations: 12 kB / 0.5139 GB, free: 26.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.4682, allocations: 133 kB / 0.514 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001793/0.4683, allocations: 0.5944 MB / 0.5146 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.4685, allocations: 51 kB / 0.5146 GB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.4685, allocations: 37.34 kB / 0.5147 GB, free: 25.7 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.0001132/0.4687, allocations: 158 kB / 0.5148 GB, free: 25.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/0.4687, allocations: 31.84 kB / 0.5149 GB, free: 25.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/0.4696, allocations: 1.43 MB / 0.5163 GB, free: 24.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.4697, allocations: 19.91 kB / 0.5163 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4697, allocations: 7.188 kB / 0.5163 GB, free: 24.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4697, allocations: 7.984 kB / 0.5163 GB, free: 24.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.4701, allocations: 0.5517 MB / 0.5168 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4701, allocations: 2.938 kB / 0.5168 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.4702, allocations: 63.16 kB / 0.5169 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001011/0.4703, allocations: 123.7 kB / 0.517 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4704, allocations: 10.86 kB / 0.517 GB, free: 23.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001737/0.4705, allocations: 0.6135 MB / 0.5176 GB, free: 23.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4705, allocations: 4 kB / 0.5176 GB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.4709, allocations: 0.6031 MB / 0.5182 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.471, allocations: 55.47 kB / 0.5183 GB, free: 22.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.471, allocations: 98.95 kB / 0.5184 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.4712, allocations: 19.67 kB / 0.5184 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.4712, allocations: 23.64 kB / 0.5184 GB, free: 22.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.4712, allocations: 15.06 kB / 0.5184 GB, free: 22.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.4714, allocations: 314.8 kB / 0.5187 GB, free: 21.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4714, allocations: 0 / 0.5187 GB, free: 21.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003408/0.4748, allocations: 1.632 MB / 0.5203 GB, free: 20.38 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.005532/0.4803, allocations: 2.241 MB / 0.5225 GB, free: 18.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.4808, allocations: 311.4 kB / 0.5228 GB, free: 18.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/0.4809, allocations: 12.69 kB / 0.5228 GB, free: 18.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.481, allocations: 165.9 kB / 0.523 GB, free: 17.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.4815, allocations: 186.3 kB / 0.5231 GB, free: 17.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5774/1.059, allocations: 346.9 MB / 0.862 GB, free: 108.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.449e-05/1.059, allocations: 175.4 kB / 0.8621 GB, free: 107.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004518/1.059, allocations: 494.1 kB / 0.8626 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/1.06, allocations: 160.8 kB / 0.8627 GB, free: 107.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.385e-06/1.06, allocations: 7.844 kB / 0.8628 GB, free: 107.3 MB / 474.7 MB Notification: Performance of Templates: time 0.059/1.119, allocations: 67.7 MB / 0.9289 GB, free: 39.88 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 -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.093096973840147]