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.0009985/0.0009985, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001331/0.001331, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.034/1.034, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1335/0.1335, allocations: 32.38 MB / 270.7 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.753e-06/1.753e-06, allocations: 0 / 348.2 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.492e-05, allocations: 2.312 kB / 348.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.0111/0.01112, allocations: 13.72 MB / 361.9 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02586/0.03698, allocations: 25.76 MB / 387.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.03731, allocations: 4 kB / 387.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.03777, allocations: 87.38 kB / 387.7 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02288/0.06065, allocations: 8.642 MB / 396.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.06157, allocations: 366.7 kB / 396.7 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003361/0.06494, allocations: 2.06 MB / 398.8 MB, free: 6.285 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.421e-05/0.065, allocations: 16.53 kB / 398.8 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.06555, allocations: 315 kB / 399.1 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.07015, allocations: 3.278 MB / 402.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.07019, allocations: 12 kB / 402.4 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01963/0.08982, allocations: 10.33 MB / 412.8 MB, free: 8.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.08997, allocations: 51.75 kB / 412.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.09025, allocations: 103.8 kB / 412.9 MB, free: 8.117 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02512/0.1154, allocations: 7.963 MB / 420.9 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1154, allocations: 0 / 420.9 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1154, allocations: 0 / 420.9 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1154, allocations: 0 / 420.9 MB, free: 140 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.006563/0.122, allocations: 1.617 MB / 422.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.122, allocations: 8.031 kB / 422.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.1238, allocations: 343.8 kB / 422.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1242, allocations: 220.2 kB / 423 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.1242, allocations: 25.03 kB / 423.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.1243, allocations: 40.36 kB / 423.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1257, allocations: 0.9095 MB / 424 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1257, allocations: 3.938 kB / 424 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.1257, allocations: 16 kB / 424 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.1258, allocations: 8 kB / 424 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1269, allocations: 0.7598 MB / 424.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1289, allocations: 2.434 MB / 427.2 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007667/0.1297, allocations: 409.3 kB / 427.6 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.288e-05/0.1297, allocations: 59.72 kB / 427.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4179/0.5476, allocations: 139.4 MB / 0.5538 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.5486, allocations: 0.5166 MB / 0.5544 GB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/0.5486, allocations: 4 kB / 0.5544 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.001707/0.5504, allocations: 0.8268 MB / 0.5552 GB, free: 12.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.5505, allocations: 378.7 kB / 0.5555 GB, free: 12.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.5506, allocations: 256.8 kB / 0.5558 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.5507, allocations: 33.7 kB / 0.5558 GB, free: 12.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5508, allocations: 242.4 kB / 0.556 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.576e-05/0.5508, allocations: 114.8 kB / 0.5561 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.551, allocations: 140.1 kB / 0.5563 GB, free: 11.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5511, allocations: 0.5008 MB / 0.5568 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.5512, allocations: 92.83 kB / 0.5569 GB, free: 11.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.5515, allocations: 457.6 kB / 0.5573 GB, free: 10.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.5519, allocations: 0.5993 MB / 0.5579 GB, free: 9.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5519, allocations: 4 kB / 0.5579 GB, free: 9.797 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005763/0.5525, allocations: 0.4987 MB / 0.5584 GB, free: 9.355 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5525, allocations: 14.88 kB / 0.5584 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5526, allocations: 15.94 kB / 0.5584 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5526, allocations: 12 kB / 0.5584 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.5528, allocations: 142.4 kB / 0.5585 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.5528, allocations: 15.28 kB / 0.5586 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.553, allocations: 51.62 kB / 0.5586 GB, free: 9.125 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.553, allocations: 43.97 kB / 0.5586 GB, free: 9.082 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.0001318/0.5532, allocations: 192.8 kB / 0.5588 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.5532, allocations: 35.91 kB / 0.5589 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.5543, allocations: 1.447 MB / 0.5603 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.5543, allocations: 22.81 kB / 0.5603 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5543, allocations: 4 kB / 0.5603 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5544, allocations: 4 kB / 0.5603 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007035/0.5551, allocations: 0.627 MB / 0.5609 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.5551, allocations: 3.281 kB / 0.5609 GB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.5552, allocations: 74.94 kB / 0.561 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.5552, allocations: 7.984 kB / 0.561 GB, free: 6.758 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.5553, allocations: 8 kB / 0.561 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-06/0.5553, allocations: 11.62 kB / 0.561 GB, free: 6.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.5553, allocations: 11.28 kB / 0.561 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.5558, allocations: 0.5863 MB / 0.5616 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.5559, allocations: 51.53 kB / 0.5617 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/0.556, allocations: 107 kB / 0.5618 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.5561, allocations: 15.98 kB / 0.5618 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.5562, allocations: 35.08 kB / 0.5618 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.5562, allocations: 19.98 kB / 0.5618 GB, free: 5.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003758/0.5566, allocations: 0.4907 MB / 0.5623 GB, free: 5.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5566, allocations: 4 kB / 0.5623 GB, free: 5.406 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004745/0.5613, allocations: 1.524 MB / 0.5638 GB, free: 3.879 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.005191/0.5665, allocations: 1.983 MB / 0.5657 GB, free: 2.035 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004019/0.5669, allocations: 331.4 kB / 0.566 GB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5669, allocations: 256 / 0.566 GB, free: 1.746 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.5671, allocations: 166.8 kB / 0.5662 GB, free: 1.598 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.5676, allocations: 223.6 kB / 0.5664 GB, free: 1.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.125/1.692, allocations: 0.6065 GB / 1.173 GB, free: 66.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/1.692, allocations: 171.8 kB / 1.173 GB, free: 66.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005085/1.693, allocations: 0.5229 MB / 1.174 GB, free: 65.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/1.693, allocations: 194.1 kB / 1.174 GB, free: 65.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/1.693, allocations: 4 kB / 1.174 GB, free: 65.41 MB / 442.7 MB Notification: Performance of Templates: time 0.1973/1.89, allocations: 66.12 MB / 1.238 GB, free: 128.6 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: 8.20737659232691]