Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001175/0.001175, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001003/0.001003, allocations: 166.2 kB / 24.84 MB, free: 9.297 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.146/0.146, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 349 MB, free: 9.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.988e-05, allocations: 5.406 kB / 349 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0161/0.01613, allocations: 13.72 MB / 362.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.03871, allocations: 25.76 MB / 388.4 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.03898, allocations: 4 kB / 388.4 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004771/0.03945, allocations: 87.38 kB / 388.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02164/0.06109, allocations: 8.642 MB / 397.2 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009398/0.06203, allocations: 374.6 kB / 397.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003601/0.06564, allocations: 2.052 MB / 399.6 MB, free: 6.281 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.06571, allocations: 8.594 kB / 399.6 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.0663, allocations: 322.9 kB / 399.9 MB, free: 5.957 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.07051, allocations: 3.27 MB / 403.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.07056, allocations: 12 kB / 403.2 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0176/0.08816, allocations: 10.34 MB / 413.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.08828, allocations: 59.73 kB / 413.6 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.08848, allocations: 103.8 kB / 413.7 MB, free: 8.109 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01898/0.1075, allocations: 7.963 MB / 421.7 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339e-05/0.1075, allocations: 0 / 421.7 MB, free: 132 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1075, allocations: 0 / 421.7 MB, free: 132 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1075, allocations: 0 / 421.7 MB, free: 132 kB / 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.005744/0.1132, allocations: 1.617 MB / 423.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/0.1133, allocations: 12.03 kB / 423.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.1145, allocations: 335.9 kB / 423.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.1148, allocations: 216.2 kB / 423.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1148, allocations: 25.03 kB / 423.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.798e-05/0.1149, allocations: 32.38 kB / 423.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.1164, allocations: 0.9212 MB / 424.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1165, allocations: 3.938 kB / 424.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.1165, allocations: 12 kB / 424.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1165, allocations: 8 kB / 424.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.1178, allocations: 0.7598 MB / 425.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.1201, allocations: 2.434 MB / 428 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/0.121, allocations: 414.4 kB / 428.4 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.1211, allocations: 51.66 kB / 428.5 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4786/0.5997, allocations: 138.8 MB / 0.554 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.6007, allocations: 0.5063 MB / 0.5545 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 4.508e-06/0.6007, allocations: 0 / 0.5545 GB, free: 14.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.001979/0.6027, allocations: 0.8459 MB / 0.5553 GB, free: 13.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001585/0.6029, allocations: 375.1 kB / 0.5557 GB, free: 12.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.603, allocations: 253.9 kB / 0.5559 GB, free: 12.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.6031, allocations: 35.17 kB / 0.556 GB, free: 12.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.6032, allocations: 236.8 kB / 0.5562 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.6033, allocations: 119.3 kB / 0.5563 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.6034, allocations: 135.2 kB / 0.5564 GB, free: 12.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6036, allocations: 0.5063 MB / 0.5569 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6038, allocations: 88.27 kB / 0.557 GB, free: 11.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.6041, allocations: 461.5 kB / 0.5574 GB, free: 11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.6047, allocations: 0.5957 MB / 0.558 GB, free: 10.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.6047, allocations: 4 kB / 0.558 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007247/0.6054, allocations: 0.4949 MB / 0.5585 GB, free: 9.848 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.6055, allocations: 10.66 kB / 0.5585 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.6055, allocations: 15.94 kB / 0.5585 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.6055, allocations: 12.81 kB / 0.5585 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.6058, allocations: 144.8 kB / 0.5587 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.6058, allocations: 19.47 kB / 0.5587 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.606, allocations: 51.62 kB / 0.5588 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.606, allocations: 43.97 kB / 0.5588 GB, free: 9.574 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 0.0001566/0.6062, allocations: 190 kB / 0.559 GB, free: 9.387 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.6063, allocations: 35.91 kB / 0.559 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.6076, allocations: 1.448 MB / 0.5604 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.6076, allocations: 18.89 kB / 0.5604 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6077, allocations: 10.67 kB / 0.5605 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6077, allocations: 8 kB / 0.5605 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007647/0.6084, allocations: 0.6248 MB / 0.5611 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6084, allocations: 0 / 0.5611 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.6086, allocations: 75.12 kB / 0.5611 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.6086, allocations: 4 kB / 0.5611 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.6086, allocations: 15.27 kB / 0.5612 GB, free: 7.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.6087, allocations: 11.47 kB / 0.5612 GB, free: 7.246 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.6087, allocations: 3.938 kB / 0.5612 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007475/0.6094, allocations: 0.5882 MB / 0.5617 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.6095, allocations: 55.53 kB / 0.5618 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6096, allocations: 107 kB / 0.5619 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.6098, allocations: 15.98 kB / 0.5619 GB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.6098, allocations: 34.98 kB / 0.562 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.6099, allocations: 22.61 kB / 0.562 GB, free: 6.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003879/0.6102, allocations: 0.4912 MB / 0.5625 GB, free: 5.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6102, allocations: 0 / 0.5625 GB, free: 5.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005842/0.6161, allocations: 1.524 MB / 0.5639 GB, free: 4.387 MB / 426.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.009311/0.6254, allocations: 1.98 MB / 0.5659 GB, free: 2.559 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007554/0.6261, allocations: 330.9 kB / 0.5662 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.6262, allocations: 0 / 0.5662 GB, free: 2.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.6263, allocations: 160.7 kB / 0.5663 GB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006799/0.627, allocations: 237 kB / 0.5666 GB, free: 1.898 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.243/1.87, allocations: 0.6065 GB / 1.173 GB, free: 67.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/1.871, allocations: 179.8 kB / 1.173 GB, free: 67.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005817/1.871, allocations: 0.5251 MB / 1.174 GB, free: 66.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002576/1.871, allocations: 194.1 kB / 1.174 GB, free: 66.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.665e-06/1.871, allocations: 0 / 1.174 GB, free: 66.39 MB / 442.7 MB Notification: Performance of Templates: time 0.22/2.091, allocations: 66.26 MB / 1.239 GB, free: 128.8 MB / 442.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 9.400563946925104]