Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.0007757/0.0007757, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.002069, 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.0007146/0.0007146, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001082/0.001797, 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.9348/0.9348, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.156/1.091, allocations: 52.49 MB / 238.5 MB, free: 7.625 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.1421/0.1421, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02092/0.163, allocations: 12.53 MB / 284.5 MB, free: 9.715 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_ph,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_ph") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,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_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.862e-05, allocations: 2.312 kB / 285.9 MB, free: 8.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01127/0.01129, allocations: 13.94 MB / 299.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01974/0.03103, allocations: 26.23 MB / 326.1 MB, free: 56 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.03121, allocations: 4 kB / 326.1 MB, free: 52 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1454/0.1766, allocations: 81.59 kB / 326.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01873/0.1954, allocations: 7.89 MB / 334 MB, free: 1.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.1962, allocations: 364.8 kB / 334.4 MB, free: 1.746 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.1994, allocations: 1.707 MB / 336.1 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.1994, allocations: 19.95 kB / 336.1 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.2, allocations: 323.9 kB / 336.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.2039, allocations: 2.559 MB / 339 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.2039, allocations: 10.47 kB / 339 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02062/0.2245, allocations: 11.21 MB / 350.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2247, allocations: 35.81 kB / 350.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.2249, allocations: 87.88 kB / 350.3 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01707/0.242, allocations: 6.1 MB / 356.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.577e-05/0.242, allocations: 0 / 356.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.242, allocations: 0 / 356.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.242, allocations: 0 / 356.4 MB, free: 8.215 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.00456/0.2466, allocations: 2.065 MB / 358.5 MB, free: 6.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.2466, allocations: 12.03 kB / 358.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.2477, allocations: 383.5 kB / 358.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.248, allocations: 191.8 kB / 359.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.248, allocations: 28.41 kB / 359.1 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.248, allocations: 28.38 kB / 359.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.2493, allocations: 0.8928 MB / 360 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2493, allocations: 11.19 kB / 360 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.2494, allocations: 15.94 kB / 360 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2494, allocations: 9.078 kB / 360 MB, free: 4.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.2505, allocations: 0.7122 MB / 360.8 MB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.2523, allocations: 1.806 MB / 362.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.2531, allocations: 393.5 kB / 362.9 MB, free: 1.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.942e-05/0.2531, allocations: 52.83 kB / 363 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.493/0.7461, allocations: 190 MB / 0.54 GB, free: 133.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008718/0.747, allocations: 487.2 kB / 0.5405 GB, free: 133.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.395e-06/0.747, allocations: 0 / 0.5405 GB, free: 133.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001579/0.7486, allocations: 0.7944 MB / 0.5413 GB, free: 132.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.7487, allocations: 381.5 kB / 0.5416 GB, free: 132.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.7488, allocations: 188.5 kB / 0.5418 GB, free: 132.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.7488, allocations: 34.08 kB / 0.5418 GB, free: 132.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.7489, allocations: 199.8 kB / 0.542 GB, free: 131.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.7489, allocations: 120.3 kB / 0.5421 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.749, allocations: 107.1 kB / 0.5423 GB, free: 131.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.925e-05/0.749, allocations: 329.1 kB / 0.5426 GB, free: 131.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.7491, allocations: 77.22 kB / 0.5426 GB, free: 131.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.7493, allocations: 344.5 kB / 0.543 GB, free: 131 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.7496, allocations: 0.5009 MB / 0.5435 GB, free: 130.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7496, allocations: 4 kB / 0.5435 GB, free: 130.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003375/0.7499, allocations: 393 kB / 0.5438 GB, free: 130.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7499, allocations: 8 kB / 0.5438 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7499, allocations: 8 kB / 0.5439 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.75, allocations: 17.25 kB / 0.5439 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.7502, allocations: 158.6 kB / 0.544 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7502, allocations: 17.62 kB / 0.544 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.7504, allocations: 50.59 kB / 0.5441 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.7504, allocations: 36.03 kB / 0.5441 GB, free: 129.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state2.phase,state3.phase,state4.phase,state5.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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.7505, allocations: 151.5 kB / 0.5443 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.7506, allocations: 38.03 kB / 0.5443 GB, free: 129.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000881/0.7515, allocations: 1.424 MB / 0.5457 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.7515, allocations: 14.86 kB / 0.5457 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7515, allocations: 7.984 kB / 0.5457 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.7515, allocations: 5.219 kB / 0.5457 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.7519, allocations: 0.565 MB / 0.5463 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.7519, allocations: 1.25 kB / 0.5463 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.7521, allocations: 81.23 kB / 0.5463 GB, free: 128 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.7521, allocations: 47.58 kB / 0.5464 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.7521, allocations: 11.98 kB / 0.5464 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.7522, allocations: 13.28 kB / 0.5464 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7522, allocations: 4 kB / 0.5464 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7522, allocations: 7.188 kB / 0.5464 GB, free: 127.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.7525, allocations: 0.4925 MB / 0.5469 GB, free: 127.4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.7526, allocations: 106.8 kB / 0.547 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.7527, allocations: 22.36 kB / 0.547 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.7527, allocations: 34.98 kB / 0.5471 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.7527, allocations: 8.562 kB / 0.5471 GB, free: 127.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.753, allocations: 340.8 kB / 0.5474 GB, free: 126.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.753, allocations: 4 kB / 0.5474 GB, free: 126.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003395/0.7564, allocations: 1.524 MB / 0.5489 GB, free: 125.5 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: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005092/0.7614, allocations: 2.097 MB / 0.5509 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.7621, allocations: 312.4 kB / 0.5512 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.885e-05/0.7622, allocations: 17.73 kB / 0.5513 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.7624, allocations: 164.7 kB / 0.5514 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009374/0.7633, allocations: 0.9639 MB / 0.5524 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9343/1.698, allocations: 0.5973 GB / 1.15 GB, free: 81.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/1.698, allocations: 175.2 kB / 1.15 GB, free: 81.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004578/1.698, allocations: 0.5163 MB / 1.15 GB, free: 80.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/1.698, allocations: 155.3 kB / 1.15 GB, free: 80.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.412e-06/1.698, allocations: 0 / 1.15 GB, free: 80.78 MB / 474.7 MB Notification: Performance of Templates: time 0.0396/1.738, allocations: 54.59 MB / 1.204 GB, free: 26.46 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.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: 6.03120431303978]