Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.0009259/0.0009259, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001283/0.002209, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0008964/0.0008964, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.002028, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.136/1.136, allocations: 177.4 MB / 189.9 MB, free: 4.824 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09437/1.231, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.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.255/0.255, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04943/0.3044, allocations: 13.23 MB / 292.6 MB, free: 6.465 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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 293.9 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.921e-05, allocations: 2.312 kB / 293.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01496/0.01498, allocations: 14.03 MB / 307.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02156/0.03654, allocations: 26.24 MB / 334.2 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001927/0.03673, allocations: 4 kB / 334.2 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.03704, allocations: 95.34 kB / 334.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01737/0.05441, allocations: 7.905 MB / 342.2 MB, free: 4.688 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.05516, allocations: 358.7 kB / 342.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.05777, allocations: 1.699 MB / 344.2 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.05783, allocations: 14.56 kB / 344.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.05836, allocations: 338.8 kB / 344.6 MB, free: 2.281 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.06198, allocations: 2.541 MB / 347.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.06202, allocations: 12 kB / 347.1 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01774/0.07976, allocations: 11.16 MB / 358.3 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.193e-05/0.07984, allocations: 35.86 kB / 358.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.07995, allocations: 83.88 kB / 358.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.0914, allocations: 6.141 MB / 364.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.529e-05/0.09141, allocations: 0 / 364.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09141, allocations: 0 / 364.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.09143, allocations: 0 / 364.5 MB, free: 14.26 MB / 362.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.004049/0.09548, allocations: 2.075 MB / 366.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.09552, allocations: 11.44 kB / 366.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/0.09672, allocations: 383.9 kB / 367 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.09707, allocations: 193.3 kB / 367.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.09711, allocations: 25.03 kB / 367.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.09715, allocations: 36.38 kB / 367.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.09844, allocations: 0.8891 MB / 368.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.09845, allocations: 7.875 kB / 368.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.09848, allocations: 16 kB / 368.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.09849, allocations: 8 kB / 368.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.09957, allocations: 0.7245 MB / 368.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.1013, allocations: 1.8 MB / 370.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.1019, allocations: 391.3 kB / 371.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/0.102, allocations: 48.78 kB / 371.1 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4954/0.5974, allocations: 190.7 MB / 0.5486 GB, free: 1.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009194/0.5984, allocations: 470.7 kB / 0.5491 GB, free: 1.211 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.995e-06/0.5984, allocations: 7.375 kB / 0.5491 GB, free: 1.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.001507/0.5999, allocations: 0.7972 MB / 0.5499 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.6, allocations: 378.5 kB / 0.5502 GB, free: 88 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.6001, allocations: 187.8 kB / 0.5504 GB, free: 15.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.6002, allocations: 36.7 kB / 0.5504 GB, free: 15.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.6003, allocations: 193.1 kB / 0.5506 GB, free: 15.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.6003, allocations: 116.2 kB / 0.5507 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6004, allocations: 108.8 kB / 0.5508 GB, free: 15.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.6005, allocations: 333.4 kB / 0.5512 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.6006, allocations: 76.45 kB / 0.5512 GB, free: 15.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6008, allocations: 339.5 kB / 0.5516 GB, free: 14.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.6013, allocations: 488.5 kB / 0.552 GB, free: 14.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6013, allocations: 4 kB / 0.552 GB, free: 14.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004719/0.6017, allocations: 397.7 kB / 0.5524 GB, free: 13.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.6018, allocations: 8.156 kB / 0.5524 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6018, allocations: 14.73 kB / 0.5524 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.6018, allocations: 15.94 kB / 0.5524 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.6021, allocations: 155.6 kB / 0.5526 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.6021, allocations: 26.45 kB / 0.5526 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.6023, allocations: 51.06 kB / 0.5527 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.6023, allocations: 31.55 kB / 0.5527 GB, free: 13.63 MB / 442.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.0001652/0.6025, allocations: 154.9 kB / 0.5528 GB, free: 13.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.166e-05/0.6025, allocations: 27.8 kB / 0.5529 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.6038, allocations: 1.428 MB / 0.5543 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.6038, allocations: 23.72 kB / 0.5543 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6038, allocations: 4 kB / 0.5543 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6038, allocations: 7.984 kB / 0.5543 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.6044, allocations: 0.5536 MB / 0.5548 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.6044, allocations: 0 / 0.5548 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.6046, allocations: 79.45 kB / 0.5549 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.6046, allocations: 48.83 kB / 0.555 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.6046, allocations: 4 kB / 0.555 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.6046, allocations: 15.88 kB / 0.555 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.6046, allocations: 11.92 kB / 0.555 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.6046, allocations: 15.48 kB / 0.555 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.6051, allocations: 492.4 kB / 0.5555 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6052, allocations: 114.5 kB / 0.5556 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.6054, allocations: 13.5 kB / 0.5556 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.6054, allocations: 35.2 kB / 0.5556 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.6054, allocations: 18.55 kB / 0.5557 GB, free: 10.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002605/0.6057, allocations: 331.4 kB / 0.556 GB, free: 10.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6057, allocations: 0 / 0.556 GB, free: 10.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004081/0.6098, allocations: 1.537 MB / 0.5575 GB, free: 9.184 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: 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.004669/0.6144, allocations: 2.106 MB / 0.5595 GB, free: 7.266 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.6149, allocations: 315.6 kB / 0.5598 GB, free: 7.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.758e-05/0.6149, allocations: 15.98 kB / 0.5598 GB, free: 7.004 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.615, allocations: 148 kB / 0.56 GB, free: 6.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.6156, allocations: 316.3 kB / 0.5603 GB, free: 6.613 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.125/1.741, allocations: 0.5999 GB / 1.16 GB, free: 136.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.651e-05/1.741, allocations: 172.1 kB / 1.16 GB, free: 136.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004776/1.741, allocations: 0.5258 MB / 1.161 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/1.742, allocations: 151.8 kB / 1.161 GB, free: 135.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.473e-06/1.742, allocations: 4 kB / 1.161 GB, free: 135.9 MB / 474.7 MB Notification: Performance of Templates: time 0.04736/1.789, allocations: 65.2 MB / 1.225 GB, free: 72.78 MB / 474.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/WaterIF97_ph/WaterIF97_ph.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.488160355947912]