Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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.0009453/0.0009453, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 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.0009436/0.0009436, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 18.57 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.019/1.019, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.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.2532/0.2532, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 266.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_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.909e-05, allocations: 2.312 kB / 378.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.012/0.01202, allocations: 13.97 MB / 392.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01889/0.03091, allocations: 26.2 MB / 419 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.03102, allocations: 0 / 419 MB, free: 9.723 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.03138, allocations: 95.34 kB / 419.1 MB, free: 9.629 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01573/0.0471, allocations: 8.673 MB / 427.7 MB, free: 0.918 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.04777, allocations: 362.7 kB / 428.1 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.05043, allocations: 2.049 MB / 430.2 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.05048, allocations: 20.59 kB / 430.2 MB, free: 14.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.0509, allocations: 322.8 kB / 430.5 MB, free: 14.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.05483, allocations: 3.27 MB / 433.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.691e-05/0.05486, allocations: 12 kB / 433.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1952/0.25, allocations: 11.1 MB / 444.9 MB, free: 60.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.2502, allocations: 49.42 kB / 444.9 MB, free: 60.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.2504, allocations: 105.3 kB / 445 MB, free: 60.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.269, allocations: 8.549 MB / 453.6 MB, free: 60.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.269, allocations: 0 / 453.6 MB, free: 60.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.269, allocations: 0 / 453.6 MB, free: 60.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.269, allocations: 0 / 453.6 MB, free: 60.71 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.004747/0.2738, allocations: 1.687 MB / 455.3 MB, free: 59.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2738, allocations: 10.91 kB / 455.3 MB, free: 59.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.2748, allocations: 307.8 kB / 455.6 MB, free: 59.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.2752, allocations: 219.2 kB / 455.8 MB, free: 59.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.2752, allocations: 24.88 kB / 455.8 MB, free: 59.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/0.2752, allocations: 35.41 kB / 455.8 MB, free: 59.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.2766, allocations: 0.8427 MB / 456.7 MB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2767, allocations: 6.406 kB / 456.7 MB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.284e-05/0.2767, allocations: 20.94 kB / 456.7 MB, free: 59.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2767, allocations: 12.22 kB / 456.7 MB, free: 59.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.2778, allocations: 0.7216 MB / 457.4 MB, free: 59.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.28, allocations: 2.711 MB / 460.2 MB, free: 57.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007224/0.2807, allocations: 344.1 kB / 460.5 MB, free: 57.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.2808, allocations: 65.11 kB / 460.6 MB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1842/0.4649, allocations: 100.4 MB / 0.5478 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000829/0.4658, allocations: 494.7 kB / 0.5483 GB, free: 9.992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.4658, allocations: 0 / 0.5483 GB, free: 9.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002296/0.4681, allocations: 1.202 MB / 0.5495 GB, free: 8.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.4682, allocations: 382.9 kB / 0.5498 GB, free: 8.355 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4684, allocations: 260.4 kB / 0.5501 GB, free: 8.086 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.4684, allocations: 33.7 kB / 0.5501 GB, free: 8.047 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4685, allocations: 240.8 kB / 0.5504 GB, free: 7.809 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.412e-05/0.4686, allocations: 118.2 kB / 0.5505 GB, free: 7.695 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4687, allocations: 127.8 kB / 0.5506 GB, free: 7.562 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4688, allocations: 0.504 MB / 0.5511 GB, free: 7.047 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.4689, allocations: 85.69 kB / 0.5512 GB, free: 6.965 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.4692, allocations: 475.1 kB / 0.5516 GB, free: 6.328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.4697, allocations: 0.5974 MB / 0.5522 GB, free: 5.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4697, allocations: 4 kB / 0.5522 GB, free: 5.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000572/0.4703, allocations: 0.4933 MB / 0.5527 GB, free: 5.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4703, allocations: 8 kB / 0.5527 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4703, allocations: 8 kB / 0.5527 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4703, allocations: 16 kB / 0.5527 GB, free: 5.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.4711, allocations: 210.1 kB / 0.5529 GB, free: 4.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006158/0.4717, allocations: 1.809 MB / 0.5547 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.4719, allocations: 23.95 kB / 0.5547 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.744e-05/0.4719, allocations: 39.98 kB / 0.5547 GB, free: 3.008 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.000141/0.472, allocations: 209.3 kB / 0.5549 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.4721, allocations: 39.86 kB / 0.555 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.4733, allocations: 1.558 MB / 0.5565 GB, free: 1.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.4733, allocations: 19.97 kB / 0.5565 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4733, allocations: 4 kB / 0.5565 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4733, allocations: 8.359 kB / 0.5565 GB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.4739, allocations: 0.7478 MB / 0.5573 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.4739, allocations: 7.938 kB / 0.5573 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.4742, allocations: 95.58 kB / 0.5574 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.4744, allocations: 130 kB / 0.5575 GB, free: 204 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.4744, allocations: 12 kB / 0.5575 GB, free: 192 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/0.4748, allocations: 0.8538 MB / 0.5583 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.4748, allocations: 7.656 kB / 0.5583 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.4756, allocations: 0.7834 MB / 0.5591 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.4756, allocations: 53.72 kB / 0.5592 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.651e-05/0.4757, allocations: 106.4 kB / 0.5593 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4759, allocations: 12 kB / 0.5593 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.4759, allocations: 33.34 kB / 0.5593 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.476, allocations: 22.98 kB / 0.5593 GB, free: 14.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004326/0.4764, allocations: 486.9 kB / 0.5598 GB, free: 13.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4764, allocations: 0 / 0.5598 GB, free: 13.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005211/0.4816, allocations: 1.637 MB / 0.5614 GB, free: 12.11 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.006499/0.4881, allocations: 2.121 MB / 0.5635 GB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.4892, allocations: 453.2 kB / 0.5639 GB, free: 9.758 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4892, allocations: 0 / 0.5639 GB, free: 9.758 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.4895, allocations: 221.9 kB / 0.5641 GB, free: 9.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.4901, allocations: 221 kB / 0.5643 GB, free: 9.336 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6237/1.114, allocations: 352.1 MB / 0.9082 GB, free: 50.88 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/1.114, allocations: 178.9 kB / 0.9084 GB, free: 50.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005136/1.114, allocations: 0.5026 MB / 0.9089 GB, free: 50.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.115, allocations: 56.47 kB / 0.9089 GB, free: 50.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.694e-06/1.115, allocations: 0 / 0.9089 GB, free: 50.16 MB / 474.7 MB Notification: Performance of Templates: time 0.241/1.355, allocations: 71.49 MB / 0.9787 GB, free: 123.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.127292569726706]