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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007542/0.0007542, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.001795, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006756/0.0006756, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009627/0.001638, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9336/0.9336, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1581/1.092, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.13/0.13, allocations: 32.8 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01883/0.1489, allocations: 12.54 MB / 284.5 MB, free: 9.727 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.413e-06/1.413e-06, allocations: 0 / 285.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.787e-06/1.02e-05, allocations: 2.312 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0112/0.01121, allocations: 13.94 MB / 299.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02023/0.03145, allocations: 26.23 MB / 326.1 MB, free: 72 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.03156, allocations: 4 kB / 326.1 MB, free: 68 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1484/0.1799, allocations: 87.12 kB / 326.1 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01481/0.1947, allocations: 7.89 MB / 334 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.1953, allocations: 360.1 kB / 334.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.1978, allocations: 1.705 MB / 336.1 MB, free: 1.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.595e-05/0.1978, allocations: 14.88 kB / 336.1 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1982, allocations: 324 kB / 336.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.2014, allocations: 2.554 MB / 339 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.2014, allocations: 9.656 kB / 339 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.2163, allocations: 12.02 MB / 351 MB, free: 13.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.101e-05/0.2163, allocations: 35.81 kB / 351 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.2164, allocations: 87.86 kB / 351.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008123/0.2246, allocations: 6.537 MB / 357.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.2246, allocations: 0 / 357.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2246, allocations: 0 / 357.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.2246, allocations: 3.984 kB / 357.7 MB, free: 7.043 MB / 330.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.002981/0.2276, allocations: 2.174 MB / 359.8 MB, free: 4.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2276, allocations: 8.031 kB / 359.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009379/0.2285, allocations: 338.6 kB / 360.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.2288, allocations: 190 kB / 360.4 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2288, allocations: 25.03 kB / 360.4 MB, free: 4.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.2288, allocations: 36.38 kB / 360.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.23, allocations: 0.789 MB / 361.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.23, allocations: 7.656 kB / 361.2 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.2301, allocations: 15.94 kB / 361.2 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.2301, allocations: 8 kB / 361.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009805/0.231, allocations: 0.634 MB / 361.9 MB, free: 2.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2329, allocations: 1.943 MB / 363.8 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.2335, allocations: 338.2 kB / 364.1 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.2336, allocations: 48.77 kB / 364.2 MB, free: 456 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.208/0.4416, allocations: 118.1 MB / 482.3 MB, free: 10.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008104/0.4424, allocations: 449.4 kB / 482.7 MB, free: 10.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.4424, allocations: 4 kB / 482.7 MB, free: 10.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.002066/0.4445, allocations: 0.9208 MB / 483.6 MB, free: 9.211 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.4446, allocations: 371.1 kB / 484 MB, free: 8.766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4447, allocations: 201.7 kB / 484.2 MB, free: 8.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.4448, allocations: 29.7 kB / 484.2 MB, free: 8.543 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.4449, allocations: 196.2 kB / 484.4 MB, free: 8.355 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.4449, allocations: 116 kB / 484.5 MB, free: 8.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.445, allocations: 110 kB / 484.6 MB, free: 8.148 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.108e-05/0.4451, allocations: 330.8 kB / 485 MB, free: 7.828 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.4452, allocations: 64.92 kB / 485 MB, free: 7.766 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.4454, allocations: 329.1 kB / 485.3 MB, free: 7.324 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.4457, allocations: 499 kB / 485.8 MB, free: 6.762 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4457, allocations: 4 kB / 485.8 MB, free: 6.758 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003637/0.4461, allocations: 374.2 kB / 486.2 MB, free: 6.449 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4461, allocations: 11.94 kB / 486.2 MB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4461, allocations: 12 kB / 486.2 MB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4461, allocations: 12 kB / 486.2 MB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.4464, allocations: 165 kB / 486.4 MB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002392/0.4467, allocations: 0.592 MB / 487 MB, free: 5.652 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.4468, allocations: 59.56 kB / 487 MB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.4469, allocations: 28.33 kB / 487.1 MB, free: 5.566 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 0.0001278/0.447, allocations: 165.5 kB / 487.2 MB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.447, allocations: 31.55 kB / 487.3 MB, free: 5.379 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.4481, allocations: 1.426 MB / 488.7 MB, free: 3.996 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.4481, allocations: 18.19 kB / 488.7 MB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4481, allocations: 7.984 kB / 488.7 MB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4481, allocations: 4 kB / 488.7 MB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.4486, allocations: 0.5482 MB / 489.3 MB, free: 3.453 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4486, allocations: 4 kB / 489.3 MB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.4487, allocations: 78.02 kB / 489.3 MB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.4488, allocations: 60.72 kB / 489.4 MB, free: 3.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/0.4489, allocations: 119.4 kB / 489.5 MB, free: 3.203 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4489, allocations: 19.98 kB / 489.5 MB, free: 3.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002322/0.4491, allocations: 0.6 MB / 490.1 MB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4491, allocations: 0 / 490.1 MB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.4496, allocations: 0.6041 MB / 490.7 MB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.616e-05/0.4496, allocations: 95.08 kB / 490.8 MB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4498, allocations: 15.98 kB / 490.9 MB, free: 1.805 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.4498, allocations: 34.98 kB / 490.9 MB, free: 1.773 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.4498, allocations: 16.69 kB / 490.9 MB, free: 1.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002125/0.45, allocations: 306.3 kB / 491.2 MB, free: 1.488 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.45, allocations: 0 / 491.2 MB, free: 1.488 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003504/0.4535, allocations: 1.629 MB / 492.8 MB, free: 15.86 MB / 474.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.005121/0.4587, allocations: 2.271 MB / 495.1 MB, free: 13.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.4591, allocations: 329.7 kB / 495.4 MB, free: 13.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.03e-05/0.4591, allocations: 12 kB / 495.4 MB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.4593, allocations: 190.8 kB / 495.6 MB, free: 13.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.4601, allocations: 0.8445 MB / 496.5 MB, free: 12.33 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5519/1.012, allocations: 345.9 MB / 0.8226 GB, free: 40.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/1.012, allocations: 176 kB / 0.8227 GB, free: 40.78 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005483/1.013, allocations: 0.4896 MB / 0.8232 GB, free: 40.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/1.013, allocations: 147.3 kB / 0.8234 GB, free: 40.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/1.013, allocations: 0 / 0.8234 GB, free: 40.18 MB / 474.7 MB Notification: Performance of Templates: time 0.1927/1.206, allocations: 57.2 MB / 0.8792 GB, free: 146.4 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.412069683894515]