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.0009634/0.0009634, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009275/0.0009275, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.053/1.053, allocations: 177.1 MB / 205 MB, free: 5.637 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.2557/0.2557, allocations: 34.26 MB / 295.7 MB, free: 0.7539 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.433e-06/1.433e-06, allocations: 0 / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.404e-05, allocations: 2.312 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01199/0.01201, allocations: 13.97 MB / 392 MB, free: 4.586 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02548/0.03748, allocations: 26.2 MB / 418.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.03759, allocations: 0 / 418.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.03793, allocations: 87.38 kB / 418.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01806/0.05599, allocations: 8.673 MB / 427 MB, free: 1.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.05667, allocations: 362.7 kB / 427.4 MB, free: 1.145 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003081/0.05975, allocations: 2.055 MB / 429.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.05979, allocations: 20.58 kB / 429.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.06024, allocations: 318.8 kB / 429.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004165/0.06441, allocations: 3.27 MB / 433 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.06443, allocations: 8 kB / 433 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01329/0.07772, allocations: 11.11 MB / 444.1 MB, free: 288 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.07779, allocations: 51.75 kB / 444.2 MB, free: 236 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.07788, allocations: 111.7 kB / 444.3 MB, free: 124 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1705/0.2484, allocations: 8.537 MB / 452.8 MB, free: 60.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2484, allocations: 0 / 452.8 MB, free: 60.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2484, allocations: 0 / 452.8 MB, free: 60.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.2484, allocations: 0 / 452.8 MB, free: 60.98 MB / 410.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.004208/0.2526, allocations: 1.692 MB / 454.5 MB, free: 60.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2526, allocations: 11.31 kB / 454.5 MB, free: 60.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009494/0.2536, allocations: 302.4 kB / 454.8 MB, free: 60 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.2538, allocations: 223.6 kB / 455 MB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2538, allocations: 20.59 kB / 455.1 MB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.2539, allocations: 35.36 kB / 455.1 MB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.2551, allocations: 0.8528 MB / 456 MB, free: 59.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2551, allocations: 0 / 456 MB, free: 59.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.2551, allocations: 20.91 kB / 456 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.2551, allocations: 8.031 kB / 456 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.2562, allocations: 0.7261 MB / 456.7 MB, free: 59.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.2579, allocations: 2.709 MB / 459.4 MB, free: 57.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.2586, allocations: 352.1 kB / 459.8 MB, free: 57.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.2586, allocations: 66.3 kB / 459.8 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1985/0.4572, allocations: 100.4 MB / 0.5471 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008847/0.4581, allocations: 500 kB / 0.5476 GB, free: 10.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.4581, allocations: 0 / 0.5476 GB, free: 10.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002452/0.4605, allocations: 1.196 MB / 0.5488 GB, free: 9.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.4606, allocations: 386.9 kB / 0.5491 GB, free: 9.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.4608, allocations: 263.5 kB / 0.5494 GB, free: 8.977 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.4608, allocations: 33.7 kB / 0.5494 GB, free: 8.938 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.4609, allocations: 242.2 kB / 0.5497 GB, free: 8.699 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.461, allocations: 119 kB / 0.5498 GB, free: 8.586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.4611, allocations: 127.8 kB / 0.5499 GB, free: 8.453 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4613, allocations: 0.504 MB / 0.5504 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.4614, allocations: 83.91 kB / 0.5505 GB, free: 7.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.4617, allocations: 470.8 kB / 0.5509 GB, free: 7.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.4622, allocations: 0.5988 MB / 0.5515 GB, free: 6.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4622, allocations: 4 kB / 0.5515 GB, free: 6.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006383/0.4629, allocations: 0.493 MB / 0.552 GB, free: 6.055 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4629, allocations: 8 kB / 0.552 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4629, allocations: 8 kB / 0.552 GB, free: 6.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.4629, allocations: 12 kB / 0.552 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/0.4637, allocations: 214 kB / 0.5522 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006145/0.4643, allocations: 1.81 MB / 0.554 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.4645, allocations: 19.95 kB / 0.554 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.4646, allocations: 43.98 kB / 0.554 GB, free: 3.906 MB / 426.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,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.4647, allocations: 205.8 kB / 0.5542 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.4648, allocations: 39.86 kB / 0.5543 GB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.4661, allocations: 1.554 MB / 0.5558 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.4661, allocations: 23.97 kB / 0.5558 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4661, allocations: 4 kB / 0.5558 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.4661, allocations: 7.984 kB / 0.5558 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.4669, allocations: 0.7378 MB / 0.5565 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4669, allocations: 8.312 kB / 0.5566 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.4672, allocations: 99.86 kB / 0.5566 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.4673, allocations: 132.2 kB / 0.5568 GB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4673, allocations: 15.19 kB / 0.5568 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000312/0.4676, allocations: 0.8534 MB / 0.5576 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4676, allocations: 7.188 kB / 0.5576 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.4685, allocations: 0.7791 MB / 0.5584 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.4685, allocations: 59.53 kB / 0.5584 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.4686, allocations: 107.5 kB / 0.5585 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.4688, allocations: 8 kB / 0.5586 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.4688, allocations: 38.98 kB / 0.5586 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.4688, allocations: 19.98 kB / 0.5586 GB, free: 15.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.4692, allocations: 486.9 kB / 0.5591 GB, free: 14.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4692, allocations: 0 / 0.5591 GB, free: 14.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004944/0.4742, allocations: 1.637 MB / 0.5607 GB, free: 13.01 MB / 442.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 (36): * Single equations (assignments): 31 * 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.008455/0.4826, allocations: 2.121 MB / 0.5627 GB, free: 11.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.4837, allocations: 452.2 kB / 0.5632 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4838, allocations: 0 / 0.5632 GB, free: 10.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.484, allocations: 221 kB / 0.5634 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/0.4847, allocations: 220 kB / 0.5636 GB, free: 10.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6639/1.149, allocations: 352.1 MB / 0.9075 GB, free: 53 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.498e-05/1.149, allocations: 176.2 kB / 0.9076 GB, free: 52.81 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005253/1.149, allocations: 0.5044 MB / 0.9081 GB, free: 52.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.149, allocations: 62.22 kB / 0.9082 GB, free: 52.27 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/1.149, allocations: 0 / 0.9082 GB, free: 52.27 MB / 474.7 MB Notification: Performance of Templates: time 0.2194/1.369, allocations: 60.18 MB / 0.967 GB, free: 126.3 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.790759983006865]