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.001342/0.001342, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001461/0.001461, allocations: 169.5 kB / 24.91 MB, free: 8.723 MB / 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.9899/0.9899, allocations: 177.1 MB / 205.3 MB, free: 4.492 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.1439/0.1439, allocations: 32.8 MB / 294.6 MB, free: 15.43 MB / 282.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.312e-06/1.312e-06, allocations: 0 / 323.3 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.014e-05, allocations: 2.312 kB / 323.3 MB, free: 2.773 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004579/0.004599, allocations: 5.119 MB / 328.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.007883, allocations: 4.714 MB / 333.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.00795, allocations: 4 kB / 333.1 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.008177, allocations: 51.61 kB / 333.1 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.009221, allocations: 0.7298 MB / 333.9 MB, free: 8.102 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.009437, allocations: 175.7 kB / 334 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.009792, allocations: 397.8 kB / 334.4 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.009834, allocations: 14.45 kB / 334.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.01004, allocations: 199.4 kB / 334.6 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.01016, allocations: 115.7 kB / 334.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.01018, allocations: 8 kB / 334.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.01056, allocations: 319.4 kB / 335.1 MB, free: 6.898 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.01062, allocations: 63.69 kB / 335.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.01069, allocations: 79.83 kB / 335.2 MB, free: 6.758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.01112, allocations: 434.6 kB / 335.6 MB, free: 6.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.01113, allocations: 0 / 335.6 MB, free: 6.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01113, allocations: 0 / 335.6 MB, free: 6.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.01113, allocations: 0 / 335.6 MB, free: 6.332 MB / 314.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.0006612/0.01179, allocations: 0.4959 MB / 336.1 MB, free: 5.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.01184, allocations: 19.98 kB / 336.2 MB, free: 5.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.01194, allocations: 48.8 kB / 336.2 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.01211, allocations: 157.5 kB / 336.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.01221, allocations: 226.7 kB / 336.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.01224, allocations: 24.38 kB / 336.6 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.01252, allocations: 430.9 kB / 337 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01253, allocations: 192 / 337 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.01255, allocations: 15.94 kB / 337 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.01257, allocations: 11.98 kB / 337 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.01304, allocations: 451.4 kB / 337.5 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007101/0.01375, allocations: 0.9381 MB / 338.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.01395, allocations: 142.4 kB / 338.6 MB, free: 3.176 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.664e-05/0.014, allocations: 52.58 kB / 338.6 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.01471, allocations: 0.6694 MB / 339.3 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.01473, allocations: 38.56 kB / 339.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.01473, allocations: 0 / 339.3 MB, free: 2.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002482/0.01498, allocations: 165.5 kB / 339.5 MB, free: 2.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.015, allocations: 59.41 kB / 339.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.01511, allocations: 241.8 kB / 339.8 MB, free: 1.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.01512, allocations: 25.7 kB / 339.8 MB, free: 1.871 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.0152, allocations: 215.6 kB / 340 MB, free: 1.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.01522, allocations: 55.56 kB / 340.1 MB, free: 1.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.01528, allocations: 82.06 kB / 340.1 MB, free: 1.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.01535, allocations: 330.8 kB / 340.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.01538, allocations: 31.81 kB / 340.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.01552, allocations: 296.1 kB / 340.8 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.01573, allocations: 392.1 kB / 341.2 MB, free: 228 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01574, allocations: 4 kB / 341.2 MB, free: 224 kB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.1565/0.1722, allocations: 286.5 kB / 341.5 MB, free: 27.22 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.1722, allocations: 9.578 kB / 341.5 MB, free: 27.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.1722, allocations: 9.469 kB / 341.5 MB, free: 27.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/0.1723, allocations: 12.61 kB / 341.5 MB, free: 27.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.1727, allocations: 99.38 kB / 341.6 MB, free: 27.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/0.1727, allocations: 21.53 kB / 341.6 MB, free: 27.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.1729, allocations: 50.81 kB / 341.7 MB, free: 27.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.1729, allocations: 24.17 kB / 341.7 MB, free: 27.22 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001169/0.1731, allocations: 146.6 kB / 341.8 MB, free: 27.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1731, allocations: 17.17 kB / 341.8 MB, free: 27.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002558/0.1734, allocations: 126.5 kB / 342 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.1734, allocations: 2.781 kB / 342 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1734, allocations: 0.7812 kB / 342 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1734, allocations: 0.9375 kB / 342 MB, free: 27.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1736, allocations: 120.1 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1736, allocations: 2.828 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.1737, allocations: 31.8 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1737, allocations: 1.219 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1737, allocations: 4.969 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1737, allocations: 1.281 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1737, allocations: 1.688 kB / 342.1 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.1738, allocations: 229.2 kB / 342.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1739, allocations: 25.92 kB / 342.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1739, allocations: 6.375 kB / 342.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.174, allocations: 10.45 kB / 342.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.174, allocations: 7.719 kB / 342.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.174, allocations: 7.109 kB / 342.4 MB, free: 26.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.394e-05/0.1741, allocations: 68.72 kB / 342.5 MB, free: 26.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1741, allocations: 0.6562 kB / 342.5 MB, free: 26.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000335/0.1744, allocations: 102.6 kB / 342.6 MB, free: 26.8 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * 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.0002387/0.1746, allocations: 147.7 kB / 342.7 MB, free: 26.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1748, allocations: 153.9 kB / 342.9 MB, free: 26.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.1749, allocations: 9.469 kB / 342.9 MB, free: 26.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.1749, allocations: 28.66 kB / 342.9 MB, free: 26.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1751, allocations: 53.88 kB / 343 MB, free: 26.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009955/0.1761, allocations: 490.9 kB / 343.4 MB, free: 26.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.054e-05/0.1762, allocations: 74.34 kB / 343.5 MB, free: 26.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001435/0.1763, allocations: 58.84 kB / 343.6 MB, free: 26.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.1765, allocations: 119.2 kB / 343.7 MB, free: 26.38 MB / 314.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1765, allocations: 0 / 343.7 MB, free: 26.38 MB / 314.7 MB Notification: Performance of Templates: time 0.006404/0.1829, allocations: 3.818 MB / 347.5 MB, free: 25.97 MB / 314.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.218548239208758]