Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001143/0.001143, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001083/0.001083, allocations: 165.4 kB / 24.56 MB, free: 16 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.9442/0.9442, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.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.2475/0.2475, allocations: 32.81 MB / 294.3 MB, free: 1.156 MB / 266.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.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 376.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.416e-05, allocations: 2.312 kB / 376.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004672/0.004696, allocations: 5.124 MB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003362/0.008059, allocations: 4.683 MB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.008164, allocations: 0 / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.008438, allocations: 55.61 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.00996, allocations: 0.7259 MB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.01023, allocations: 163.7 kB / 386.8 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.01071, allocations: 405.8 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.01075, allocations: 9.812 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000232/0.01099, allocations: 203.4 kB / 387.4 MB, free: 9.211 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.01113, allocations: 111.7 kB / 387.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.01116, allocations: 8 kB / 387.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.01169, allocations: 331.4 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.01175, allocations: 43.77 kB / 387.9 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.79e-05/0.01183, allocations: 95.69 kB / 388 MB, free: 8.633 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005214/0.01235, allocations: 430.6 kB / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01236, allocations: 0 / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01236, allocations: 0 / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01236, allocations: 0 / 388.4 MB, free: 8.211 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007937/0.01316, allocations: 0.6168 MB / 389 MB, free: 7.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.0132, allocations: 16.03 kB / 389 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.01336, allocations: 56.67 kB / 389.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.01357, allocations: 172.3 kB / 389.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.01368, allocations: 226.7 kB / 389.5 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.01371, allocations: 24.38 kB / 389.5 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.01407, allocations: 468 kB / 390 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.01408, allocations: 192 / 390 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.0141, allocations: 11.94 kB / 390 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.01413, allocations: 7.984 kB / 390 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.01451, allocations: 0.5333 MB / 390.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.01546, allocations: 1.331 MB / 391.8 MB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.01568, allocations: 127.3 kB / 392 MB, free: 4.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.01575, allocations: 59.66 kB / 392 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.01652, allocations: 0.7451 MB / 392.8 MB, free: 3.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.01655, allocations: 41.38 kB / 392.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.01655, allocations: 0 / 392.8 MB, free: 3.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004834/0.01704, allocations: 211.9 kB / 393 MB, free: 3.281 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.01706, allocations: 55.39 kB / 393.1 MB, free: 3.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.01721, allocations: 286.2 kB / 393.4 MB, free: 2.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.01723, allocations: 33.7 kB / 393.4 MB, free: 2.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.253e-05/0.01732, allocations: 262.3 kB / 393.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.01735, allocations: 59.53 kB / 393.7 MB, free: 2.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.01742, allocations: 87.8 kB / 393.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01753, allocations: 0.5078 MB / 394.3 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.01758, allocations: 40.91 kB / 394.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.01778, allocations: 427.7 kB / 394.8 MB, free: 1.312 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.01809, allocations: 0.4944 MB / 395.2 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.0181, allocations: 4 kB / 395.3 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003754/0.01847, allocations: 373.1 kB / 395.6 MB, free: 272 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.01849, allocations: 8 kB / 395.6 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.0185, allocations: 12 kB / 395.6 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.01852, allocations: 12.78 kB / 395.6 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.01873, allocations: 111.8 kB / 395.8 MB, free: 128 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.01874, allocations: 19.92 kB / 395.8 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01886, allocations: 16 kB / 395.8 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.01889, allocations: 28 kB / 395.8 MB, free: 64 kB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001038/0.01899, allocations: 192.3 kB / 396 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01903, allocations: 27.89 kB / 396 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.01922, allocations: 146.7 kB / 396.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.01923, allocations: 4 kB / 396.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.01924, allocations: 3.984 kB / 396.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01924, allocations: 3.984 kB / 396.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.01957, allocations: 420.9 kB / 396.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01958, allocations: 0 / 396.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-05/0.01966, allocations: 36 kB / 396.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01967, allocations: 0 / 396.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.01968, allocations: 4 kB / 396.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.01968, allocations: 0 / 396.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01968, allocations: 0 / 396.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.01984, allocations: 278.4 kB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.01987, allocations: 23.84 kB / 396.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01989, allocations: 11.94 kB / 396.9 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.01999, allocations: 7.984 kB / 397 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.02001, allocations: 15.92 kB / 397 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.02002, allocations: 11.98 kB / 397 MB, free: 14.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.0201, allocations: 185.1 kB / 397.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0201, allocations: 0 / 397.2 MB, free: 14.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.02043, allocations: 95.92 kB / 397.3 MB, free: 14.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002308/0.02066, allocations: 167 kB / 397.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.0209, allocations: 178.3 kB / 397.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.0209, allocations: 0 / 397.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.395e-05/0.02094, allocations: 39.61 kB / 397.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.02123, allocations: 68.61 kB / 397.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009587/0.02219, allocations: 0.4916 MB / 398.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.02223, allocations: 72.64 kB / 398.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.02237, allocations: 66.75 kB / 398.3 MB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.02241, allocations: 32.5 kB / 398.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02241, allocations: 0 / 398.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of Templates: time 0.005486/0.0279, allocations: 3.851 MB / 402.2 MB, free: 9.578 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.107184660155326]