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.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.0008623/0.0008623, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.00198, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000747/0.000747, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008791/0.001626, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.029/1.029, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09527/1.124, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.2579/0.2579, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02718/0.2851, allocations: 12.52 MB / 289.3 MB, free: 8.676 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.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_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.753e-06/1.753e-06, allocations: 0 / 290.6 MB, free: 7.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.599e-05, allocations: 4.594 kB / 290.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01645/0.01648, allocations: 14.04 MB / 304.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02597/0.04245, allocations: 26.24 MB / 330.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.04265, allocations: 4 kB / 330.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.04293, allocations: 87.36 kB / 331 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0177/0.06064, allocations: 7.899 MB / 338.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.06155, allocations: 358.7 kB / 339.3 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.06456, allocations: 1.698 MB / 341 MB, free: 5.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.913e-05/0.06463, allocations: 14.56 kB / 341 MB, free: 5.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.06518, allocations: 338.8 kB / 341.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004121/0.0693, allocations: 2.549 MB / 343.9 MB, free: 2.832 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.06936, allocations: 11.94 kB / 343.9 MB, free: 2.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.08851, allocations: 11.16 MB / 355 MB, free: 7.648 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.08862, allocations: 39.86 kB / 355.1 MB, free: 7.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.08884, allocations: 83.88 kB / 355.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.1058, allocations: 6.137 MB / 361.3 MB, free: 1.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.811e-05/0.1058, allocations: 4 kB / 361.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1058, allocations: 0 / 361.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.1058, allocations: 0 / 361.3 MB, free: 1.375 MB / 346.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.004747/0.1106, allocations: 2.075 MB / 363.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1106, allocations: 12.03 kB / 363.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.1122, allocations: 379.9 kB / 363.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.1126, allocations: 193.3 kB / 363.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.1126, allocations: 25.03 kB / 364 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.1127, allocations: 32.38 kB / 364 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.1146, allocations: 0.8967 MB / 364.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1146, allocations: 7.875 kB / 364.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1146, allocations: 16 kB / 364.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.1146, allocations: 11.98 kB / 364.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.1163, allocations: 0.7086 MB / 365.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.1185, allocations: 1.797 MB / 367.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1195, allocations: 403.8 kB / 367.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.132e-05/0.1196, allocations: 48.78 kB / 367.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5543/0.6739, allocations: 190.7 MB / 0.5454 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/0.6747, allocations: 492.9 kB / 0.5459 GB, free: 7.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.124e-06/0.6747, allocations: 0 / 0.5459 GB, free: 7.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.00142/0.6762, allocations: 0.7969 MB / 0.5467 GB, free: 6.371 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.6762, allocations: 377.1 kB / 0.547 GB, free: 5.922 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.6763, allocations: 195.9 kB / 0.5472 GB, free: 5.758 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.6763, allocations: 33.52 kB / 0.5473 GB, free: 5.723 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.6764, allocations: 186 kB / 0.5474 GB, free: 5.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.6764, allocations: 121.6 kB / 0.5476 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.6765, allocations: 106 kB / 0.5477 GB, free: 5.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.6766, allocations: 334.4 kB / 0.548 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.265e-05/0.6766, allocations: 83.94 kB / 0.5481 GB, free: 4.988 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6768, allocations: 337.2 kB / 0.5484 GB, free: 4.559 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.677, allocations: 495.4 kB / 0.5489 GB, free: 4.023 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6771, allocations: 0 / 0.5489 GB, free: 4.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003152/0.6774, allocations: 398.6 kB / 0.5492 GB, free: 3.719 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6774, allocations: 8 kB / 0.5492 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6774, allocations: 8.875 kB / 0.5493 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6774, allocations: 19.94 kB / 0.5493 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.6777, allocations: 160.7 kB / 0.5494 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.6777, allocations: 15.09 kB / 0.5494 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.6778, allocations: 59.55 kB / 0.5495 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.6779, allocations: 31.05 kB / 0.5495 GB, free: 3.473 MB / 426.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 9.507e-05/0.678, allocations: 149.4 kB / 0.5497 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.678, allocations: 31.66 kB / 0.5497 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008634/0.6789, allocations: 1.425 MB / 0.5511 GB, free: 2.094 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.6789, allocations: 25.11 kB / 0.5511 GB, free: 2.074 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6789, allocations: 8 kB / 0.5511 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6789, allocations: 4 kB / 0.5511 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.6793, allocations: 0.558 MB / 0.5517 GB, free: 1.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.6794, allocations: 4 kB / 0.5517 GB, free: 1.617 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.6795, allocations: 75.09 kB / 0.5517 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.6795, allocations: 54.45 kB / 0.5518 GB, free: 1.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.6796, allocations: 4 kB / 0.5518 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.6796, allocations: 11.38 kB / 0.5518 GB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6796, allocations: 7.938 kB / 0.5518 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.6796, allocations: 7.281 kB / 0.5518 GB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.6799, allocations: 0.4895 MB / 0.5523 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.68, allocations: 110.5 kB / 0.5524 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.6801, allocations: 19.42 kB / 0.5524 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.6801, allocations: 34.73 kB / 0.5525 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6801, allocations: 18.11 kB / 0.5525 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001941/0.6803, allocations: 334.7 kB / 0.5528 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6803, allocations: 0 / 0.5528 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003098/0.6834, allocations: 1.534 MB / 0.5543 GB, free: 15.04 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.00465/0.6881, allocations: 2.106 MB / 0.5564 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.6885, allocations: 315.6 kB / 0.5567 GB, free: 12.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.048e-05/0.6885, allocations: 15.19 kB / 0.5567 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.6886, allocations: 146.7 kB / 0.5568 GB, free: 12.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.6891, allocations: 316.5 kB / 0.5571 GB, free: 12.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.147/1.837, allocations: 0.5999 GB / 1.157 GB, free: 140.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/1.837, allocations: 168 kB / 1.157 GB, free: 140.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005113/1.837, allocations: 0.5239 MB / 1.158 GB, free: 140.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/1.837, allocations: 156.4 kB / 1.158 GB, free: 140.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/1.837, allocations: 0 / 1.158 GB, free: 140.8 MB / 474.7 MB Notification: Performance of Templates: time 0.05208/1.889, allocations: 65.22 MB / 1.222 GB, free: 85.49 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.81654058676213]