Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009742/0.0009742, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9683/0.9683, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1545/0.1545, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.492e-05, allocations: 5.078 kB / 380.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01871/0.01874, allocations: 13.82 MB / 393.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03241/0.05116, allocations: 25.76 MB / 419.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.05147, allocations: 0 / 419.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.05197, allocations: 91.36 kB / 419.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02951/0.08147, allocations: 8.676 MB / 428.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.08259, allocations: 358.7 kB / 428.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003994/0.08658, allocations: 2.052 MB / 430.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.08666, allocations: 12.59 kB / 430.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005759/0.08723, allocations: 326.9 kB / 431.1 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004646/0.09188, allocations: 3.266 MB / 434.4 MB, free: 88 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.372e-05/0.09195, allocations: 12 kB / 434.4 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02172/0.1137, allocations: 11.11 MB / 445.5 MB, free: 4.949 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1138, allocations: 55.75 kB / 445.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002598/0.1141, allocations: 103.8 kB / 445.7 MB, free: 4.793 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02236/0.1364, allocations: 8.544 MB / 454.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.1364, allocations: 4 kB / 454.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1364, allocations: 0 / 454.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1364, allocations: 0 / 454.2 MB, free: 12.23 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.004982/0.1414, allocations: 1.694 MB / 455.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1415, allocations: 12.03 kB / 455.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.1427, allocations: 303.9 kB / 456.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.143, allocations: 212.2 kB / 456.4 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.143, allocations: 25.03 kB / 456.5 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.1431, allocations: 32.38 kB / 456.5 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.1444, allocations: 0.8153 MB / 457.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1445, allocations: 3.938 kB / 457.3 MB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1445, allocations: 12 kB / 457.3 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.1445, allocations: 8 kB / 457.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1456, allocations: 0.6661 MB / 458 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.1478, allocations: 2.659 MB / 460.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.1486, allocations: 346.6 kB / 461 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.1486, allocations: 51.66 kB / 461.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4117/0.5603, allocations: 86.93 MB / 0.5351 GB, free: 55.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008414/0.5611, allocations: 487.2 kB / 0.5356 GB, free: 54.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.5611, allocations: 0 / 0.5356 GB, free: 54.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.002151/0.5633, allocations: 0.898 MB / 0.5365 GB, free: 54.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.5634, allocations: 374.9 kB / 0.5368 GB, free: 53.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.5635, allocations: 254.5 kB / 0.5371 GB, free: 53.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.5636, allocations: 33.33 kB / 0.5371 GB, free: 53.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/0.5637, allocations: 243 kB / 0.5373 GB, free: 53.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.5637, allocations: 120.6 kB / 0.5375 GB, free: 53.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.5638, allocations: 137.3 kB / 0.5376 GB, free: 53.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.5639, allocations: 0.5137 MB / 0.5381 GB, free: 52.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/0.564, allocations: 74.73 kB / 0.5382 GB, free: 52.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.5642, allocations: 463.2 kB / 0.5386 GB, free: 51.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.5646, allocations: 0.5815 MB / 0.5392 GB, free: 51.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5646, allocations: 4 kB / 0.5392 GB, free: 51.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005775/0.5652, allocations: 483.4 kB / 0.5396 GB, free: 50.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.5652, allocations: 8 kB / 0.5396 GB, free: 50.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5652, allocations: 8 kB / 0.5396 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5652, allocations: 12 kB / 0.5397 GB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007991/0.566, allocations: 215.3 kB / 0.5399 GB, free: 50.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004643/0.5665, allocations: 1.804 MB / 0.5416 GB, free: 48.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.5667, allocations: 21.22 kB / 0.5416 GB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.5667, allocations: 43.84 kB / 0.5417 GB, free: 48.71 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 (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.000148/0.5669, allocations: 195.1 kB / 0.5419 GB, free: 48.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.567, allocations: 46.97 kB / 0.5419 GB, free: 48.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.5681, allocations: 1.471 MB / 0.5434 GB, free: 47.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.5682, allocations: 27.16 kB / 0.5434 GB, free: 47.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5682, allocations: 4.375 kB / 0.5434 GB, free: 47.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5682, allocations: 8 kB / 0.5434 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.5689, allocations: 0.6313 MB / 0.544 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5689, allocations: 4 kB / 0.544 GB, free: 46.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.5692, allocations: 95.27 kB / 0.5441 GB, free: 46.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001441/0.5694, allocations: 127.5 kB / 0.5442 GB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.5694, allocations: 11.62 kB / 0.5442 GB, free: 46.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002882/0.5697, allocations: 0.8509 MB / 0.5451 GB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5697, allocations: 7.188 kB / 0.5451 GB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.5704, allocations: 0.7351 MB / 0.5458 GB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.5704, allocations: 59.45 kB / 0.5458 GB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.5705, allocations: 97.3 kB / 0.5459 GB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.5706, allocations: 15.38 kB / 0.546 GB, free: 44.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.5707, allocations: 37.75 kB / 0.546 GB, free: 44.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.5707, allocations: 12 kB / 0.546 GB, free: 44.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.571, allocations: 470.4 kB / 0.5465 GB, free: 44.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.571, allocations: 0 / 0.5465 GB, free: 44.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00661/0.5776, allocations: 1.635 MB / 0.548 GB, free: 42.79 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 (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.008844/0.5865, allocations: 2.171 MB / 0.5502 GB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.5876, allocations: 417 kB / 0.5506 GB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.5876, allocations: 4 kB / 0.5506 GB, free: 40.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.5878, allocations: 204.5 kB / 0.5508 GB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.5885, allocations: 220.7 kB / 0.551 GB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7911/1.38, allocations: 352.1 MB / 0.8948 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/1.38, allocations: 172.7 kB / 0.895 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006863/1.38, allocations: 0.5091 MB / 0.8955 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.381, allocations: 186.1 kB / 0.8957 GB, free: 115.5 MB / 474.7 MB Notification: Performance of SimCode: time 4.178e-06/1.381, allocations: 0 / 0.8957 GB, free: 115.5 MB / 474.7 MB Notification: Performance of Templates: time 0.06722/1.448, allocations: 69.76 MB / 0.9638 GB, free: 46.11 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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: 8.844853025861084]