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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002443, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006386/0.0006386, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.001795, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9017/0.9017, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1653/1.067, allocations: 52.47 MB / 238.4 MB, free: 7.648 MB / 234.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.1554/0.1554, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02307/0.1785, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.162e-06/1.162e-06, allocations: 0 / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.189e-05, allocations: 2.312 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00968/0.009702, allocations: 5.134 MB / 291 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.01338, allocations: 4.71 MB / 295.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.01348, allocations: 4 kB / 295.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.01369, allocations: 63.59 kB / 295.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.01501, allocations: 0.6947 MB / 296.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.01526, allocations: 163.7 kB / 296.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.01568, allocations: 397.9 kB / 297 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.01572, allocations: 6.469 kB / 297 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.01596, allocations: 215.4 kB / 297.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.01609, allocations: 115.6 kB / 297.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.01611, allocations: 12 kB / 297.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.01664, allocations: 319.5 kB / 297.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.433e-05/0.0167, allocations: 31.86 kB / 297.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.01677, allocations: 63.88 kB / 297.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.01725, allocations: 386.7 kB / 298.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.01726, allocations: 0 / 298.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01726, allocations: 0 / 298.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.01727, allocations: 0 / 298.1 MB, free: 12.05 MB / 298.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.0007775/0.01805, allocations: 0.6373 MB / 298.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.01808, allocations: 8.031 kB / 298.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.01821, allocations: 52.83 kB / 298.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.01839, allocations: 165.5 kB / 299 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-05/0.01849, allocations: 218.7 kB / 299.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.01852, allocations: 28.38 kB / 299.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.01881, allocations: 430.9 kB / 299.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.01882, allocations: 4.188 kB / 299.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01884, allocations: 7.938 kB / 299.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.01886, allocations: 12 kB / 299.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.01916, allocations: 451.4 kB / 300.1 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006869/0.01985, allocations: 0.9304 MB / 301.1 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.02001, allocations: 150.1 kB / 301.2 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.02005, allocations: 48.83 kB / 301.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008577/0.02091, allocations: 0.6809 MB / 301.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.02093, allocations: 38.56 kB / 302 MB, free: 7.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.91e-07/0.02094, allocations: 0 / 302 MB, free: 7.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004212/0.02136, allocations: 236.9 kB / 302.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.02138, allocations: 55.41 kB / 302.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.02148, allocations: 230 kB / 302.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.0215, allocations: 25.7 kB / 302.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.02157, allocations: 215.5 kB / 302.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.0216, allocations: 59.55 kB / 302.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.02165, allocations: 82.02 kB / 302.9 MB, free: 7.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.109e-05/0.02172, allocations: 338.8 kB / 303.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.02176, allocations: 31.81 kB / 303.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.02189, allocations: 301.8 kB / 303.5 MB, free: 6.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.02213, allocations: 437.8 kB / 303.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.02214, allocations: 0 / 303.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002468/0.02238, allocations: 300.6 kB / 304.2 MB, free: 5.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.0224, allocations: 8 kB / 304.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.02241, allocations: 12 kB / 304.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.02243, allocations: 12 kB / 304.3 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.02263, allocations: 119.8 kB / 304.4 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.02264, allocations: 23.86 kB / 304.4 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.02277, allocations: 51.67 kB / 304.5 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.02279, allocations: 20 kB / 304.5 MB, free: 5.125 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 7.404e-05/0.02286, allocations: 152.5 kB / 304.6 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.02289, allocations: 23.97 kB / 304.7 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.02304, allocations: 118.8 kB / 304.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.02304, allocations: 0 / 304.8 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.02304, allocations: 4 kB / 304.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02305, allocations: 3.938 kB / 304.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.02319, allocations: 121.7 kB / 304.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02319, allocations: 3.938 kB / 304.9 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.02328, allocations: 35.97 kB / 304.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.02331, allocations: 19.91 kB / 305 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.02331, allocations: 0 / 305 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.02332, allocations: 7.984 kB / 305 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.02332, allocations: 0 / 305 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.02332, allocations: 0 / 305 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.02344, allocations: 234.1 kB / 305.2 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.02345, allocations: 4 kB / 305.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.02354, allocations: 11.97 kB / 305.2 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.02355, allocations: 7.984 kB / 305.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.02356, allocations: 12.09 kB / 305.2 MB, free: 4.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.562e-05/0.02361, allocations: 66.78 kB / 305.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02361, allocations: 0 / 305.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.02388, allocations: 95.88 kB / 305.4 MB, free: 4.168 MB / 298.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.0002093/0.02409, allocations: 144.2 kB / 305.5 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.02424, allocations: 164.9 kB / 305.7 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/0.02425, allocations: 8.5 kB / 305.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.02429, allocations: 52.33 kB / 305.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.02454, allocations: 107.7 kB / 305.9 MB, free: 3.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.02776, allocations: 484.8 kB / 306.3 MB, free: 3.191 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.02781, allocations: 72.34 kB / 306.4 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.02793, allocations: 58.72 kB / 306.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.02807, allocations: 113.3 kB / 306.6 MB, free: 2.934 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.02808, allocations: 4 kB / 306.6 MB, free: 2.93 MB / 298.7 MB Notification: Performance of Templates: time 0.005305/0.03338, allocations: 3.572 MB / 310.1 MB, free: 15.41 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.0239567374810576]