Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.001017/0.001017, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.000989/0.000989, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9289/0.9289, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3018/0.3018, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.67e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.01237/0.0124, allocations: 13.97 MB / 392.1 MB, free: 4.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02109/0.03349, allocations: 26.18 MB / 418.2 MB, free: 10.29 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.03363, allocations: 7.938 kB / 418.2 MB, free: 10.29 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.03397, allocations: 91.36 kB / 418.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01853/0.0525, allocations: 8.674 MB / 427 MB, free: 1.48 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.05321, allocations: 354.7 kB / 427.4 MB, free: 1.133 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002593/0.0558, allocations: 2.056 MB / 429.4 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.05585, allocations: 20.59 kB / 429.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004347/0.05628, allocations: 318.8 kB / 429.7 MB, free: 14.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003844/0.06013, allocations: 3.274 MB / 433 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.06016, allocations: 8 kB / 433 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.07543, allocations: 11.11 MB / 444.1 MB, free: 268 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.07551, allocations: 51.75 kB / 444.2 MB, free: 216 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.07562, allocations: 103.7 kB / 444.3 MB, free: 112 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1868/0.2624, allocations: 8.544 MB / 452.8 MB, free: 60.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2624, allocations: 0 / 452.8 MB, free: 60.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2624, allocations: 0 / 452.8 MB, free: 60.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.2624, allocations: 3.469 kB / 452.8 MB, free: 60.59 MB / 410.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.004441/0.2669, allocations: 1.686 MB / 454.5 MB, free: 59.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.2669, allocations: 8.938 kB / 454.5 MB, free: 59.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.2679, allocations: 309.5 kB / 454.8 MB, free: 59.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.2682, allocations: 221.6 kB / 455.1 MB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.2682, allocations: 19.88 kB / 455.1 MB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.2682, allocations: 36.12 kB / 455.1 MB, free: 59.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.2695, allocations: 0.8505 MB / 456 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2695, allocations: 2.812 kB / 456 MB, free: 59.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.2695, allocations: 22.91 kB / 456 MB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2695, allocations: 11.59 kB / 456 MB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.2706, allocations: 0.7245 MB / 456.7 MB, free: 59.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.2723, allocations: 2.708 MB / 459.4 MB, free: 57.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006543/0.273, allocations: 355.8 kB / 459.8 MB, free: 57.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.519e-05/0.2731, allocations: 58.47 kB / 459.8 MB, free: 57.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1832/0.4563, allocations: 100.4 MB / 0.5471 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.4574, allocations: 491 kB / 0.5476 GB, free: 10.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.883e-06/0.4574, allocations: 0 / 0.5476 GB, free: 10.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.00336/0.4608, allocations: 1.199 MB / 0.5488 GB, free: 9.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.4609, allocations: 383.3 kB / 0.5491 GB, free: 9.012 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.4611, allocations: 265.4 kB / 0.5494 GB, free: 8.762 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.4611, allocations: 29.77 kB / 0.5494 GB, free: 8.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.4613, allocations: 247.1 kB / 0.5497 GB, free: 8.504 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.4614, allocations: 117.2 kB / 0.5498 GB, free: 8.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.4615, allocations: 136.5 kB / 0.5499 GB, free: 8.309 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4617, allocations: 0.5002 MB / 0.5504 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4618, allocations: 78.42 kB / 0.5505 GB, free: 7.734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.4622, allocations: 481.9 kB / 0.5509 GB, free: 7.125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.4627, allocations: 0.5919 MB / 0.5515 GB, free: 6.422 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.4627, allocations: 4 kB / 0.5515 GB, free: 6.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007702/0.4635, allocations: 0.4907 MB / 0.552 GB, free: 5.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.4635, allocations: 11.98 kB / 0.552 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4636, allocations: 11.28 kB / 0.552 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.4636, allocations: 16 kB / 0.552 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4646, allocations: 198.6 kB / 0.5522 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006441/0.4653, allocations: 1.81 MB / 0.554 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.4655, allocations: 23.95 kB / 0.554 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.4655, allocations: 47.06 kB / 0.554 GB, free: 3.832 MB / 426.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,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.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.0001502/0.4657, allocations: 203.4 kB / 0.5542 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.4658, allocations: 39.42 kB / 0.5543 GB, free: 3.594 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.4675, allocations: 1.563 MB / 0.5558 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.4676, allocations: 15.98 kB / 0.5558 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4676, allocations: 7.984 kB / 0.5558 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.4676, allocations: 4.375 kB / 0.5558 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.4683, allocations: 0.7447 MB / 0.5566 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4683, allocations: 7.938 kB / 0.5566 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.4686, allocations: 100 kB / 0.5567 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001525/0.4688, allocations: 124.3 kB / 0.5568 GB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.4688, allocations: 12 kB / 0.5568 GB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003366/0.4692, allocations: 0.858 MB / 0.5576 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4692, allocations: 6.844 kB / 0.5576 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008921/0.4701, allocations: 0.7817 MB / 0.5584 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.4701, allocations: 59.47 kB / 0.5585 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.4702, allocations: 102.2 kB / 0.5585 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4704, allocations: 12 kB / 0.5586 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4705, allocations: 35.17 kB / 0.5586 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.4705, allocations: 19.98 kB / 0.5586 GB, free: 15.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004428/0.4709, allocations: 490.9 kB / 0.5591 GB, free: 14.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4709, allocations: 0 / 0.5591 GB, free: 14.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004544/0.4755, allocations: 1.633 MB / 0.5607 GB, free: 12.94 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: 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.006891/0.4824, allocations: 2.12 MB / 0.5627 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.4834, allocations: 444.6 kB / 0.5632 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4835, allocations: 0 / 0.5632 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.4837, allocations: 225.1 kB / 0.5634 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.4844, allocations: 213.7 kB / 0.5636 GB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.658/1.142, allocations: 352.1 MB / 0.9075 GB, free: 52.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.711e-05/1.143, allocations: 176.2 kB / 0.9076 GB, free: 52.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005115/1.143, allocations: 0.506 MB / 0.9081 GB, free: 51.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.143, allocations: 56.47 kB / 0.9082 GB, free: 51.73 MB / 474.7 MB Notification: Performance of SimCode: time 2.806e-06/1.143, allocations: 0.6562 kB / 0.9082 GB, free: 51.73 MB / 474.7 MB Notification: Performance of Templates: time 0.245/1.388, allocations: 71.49 MB / 0.978 GB, free: 124.2 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.466777889057994]