Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001339/0.001339, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001522/0.001522, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 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 0.9611/0.9611, allocations: 177 MB / 205.2 MB, free: 5.445 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.2553/0.2553, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 326 MB, free: 7.102 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.225e-05, allocations: 4.547 kB / 326 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.009876/0.009898, allocations: 5.169 MB / 331.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007196/0.01709, allocations: 4.706 MB / 335.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003093/0.02019, allocations: 4 kB / 335.9 MB, free: 13.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.02045, allocations: 59.59 kB / 335.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.02182, allocations: 0.7103 MB / 336.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.02212, allocations: 163.6 kB / 336.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000459/0.02258, allocations: 402.6 kB / 337.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.02262, allocations: 11.2 kB / 337.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.02288, allocations: 207.4 kB / 337.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.02303, allocations: 107.7 kB / 337.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.02306, allocations: 8 kB / 337.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.02666, allocations: 343.3 kB / 337.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.02673, allocations: 51.75 kB / 337.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.02682, allocations: 83.77 kB / 338 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007236/0.02754, allocations: 438.6 kB / 338.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.02754, allocations: 0 / 338.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02755, allocations: 4 kB / 338.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.02755, allocations: 0 / 338.4 MB, free: 10.62 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.0007562/0.02831, allocations: 496.6 kB / 338.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.02834, allocations: 8.031 kB / 338.9 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.0285, allocations: 60.72 kB / 339 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.02872, allocations: 161.5 kB / 339.1 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.02886, allocations: 230.7 kB / 339.3 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.02889, allocations: 28.36 kB / 339.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003362/0.03226, allocations: 430.9 kB / 339.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.03227, allocations: 192 / 339.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.03229, allocations: 15.94 kB / 339.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.03231, allocations: 4 kB / 339.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004259/0.03274, allocations: 451.4 kB / 340.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.03357, allocations: 0.9343 MB / 341.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.03376, allocations: 146.8 kB / 341.3 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.03381, allocations: 48.81 kB / 341.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/0.03467, allocations: 0.6771 MB / 342.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.0347, allocations: 34.56 kB / 342.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.0347, allocations: 0 / 342.1 MB, free: 6.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006543/0.03535, allocations: 180.6 kB / 342.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.03538, allocations: 55.41 kB / 342.3 MB, free: 6.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.03552, allocations: 225.8 kB / 342.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.03553, allocations: 25.7 kB / 342.6 MB, free: 6.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.03563, allocations: 219.5 kB / 342.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.03566, allocations: 51.56 kB / 342.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/0.03574, allocations: 90 kB / 342.9 MB, free: 5.809 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.03583, allocations: 330.8 kB / 343.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.03587, allocations: 39.8 kB / 343.3 MB, free: 5.438 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.03604, allocations: 292.1 kB / 343.6 MB, free: 5.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.03633, allocations: 388.2 kB / 343.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.03633, allocations: 0 / 343.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003264/0.03666, allocations: 304.6 kB / 344.2 MB, free: 4.215 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.03667, allocations: 8 kB / 344.3 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.03669, allocations: 8 kB / 344.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.03671, allocations: 12 kB / 344.3 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.037, allocations: 111.8 kB / 344.4 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.03702, allocations: 19.92 kB / 344.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.03722, allocations: 47.62 kB / 344.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.03725, allocations: 24 kB / 344.5 MB, free: 3.988 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.000102/0.03735, allocations: 144.4 kB / 344.6 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.03739, allocations: 31.97 kB / 344.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.0376, allocations: 127.3 kB / 344.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.03761, allocations: 0 / 344.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.03761, allocations: 0 / 344.8 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.03762, allocations: 8 kB / 344.8 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.03781, allocations: 117.7 kB / 344.9 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.03781, allocations: 3.938 kB / 344.9 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.03794, allocations: 39.97 kB / 344.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.03795, allocations: 0 / 344.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.03795, allocations: 0 / 344.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.03796, allocations: 0 / 344.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.03796, allocations: 0 / 344.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.03812, allocations: 230.1 kB / 345.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.03816, allocations: 19.89 kB / 345.2 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.03818, allocations: 8 kB / 345.2 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.03831, allocations: 7.984 kB / 345.2 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.03854, allocations: 11.98 kB / 345.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.03855, allocations: 4 kB / 345.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.708e-05/0.0386, allocations: 66.78 kB / 345.3 MB, free: 3.141 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0386, allocations: 0 / 345.3 MB, free: 3.141 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.03889, allocations: 107.8 kB / 345.4 MB, free: 3.035 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.0002049/0.03909, allocations: 140.2 kB / 345.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.03926, allocations: 162.8 kB / 345.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.03927, allocations: 6.5 kB / 345.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.64e-05/0.0393, allocations: 35.83 kB / 345.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.03953, allocations: 61.81 kB / 345.8 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.04041, allocations: 486 kB / 346.2 MB, free: 2.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.04046, allocations: 80.33 kB / 346.3 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.0406, allocations: 57.73 kB / 346.4 MB, free: 1.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.04075, allocations: 113.3 kB / 346.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.04075, allocations: 4 kB / 346.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of Templates: time 0.005726/0.04648, allocations: 3.812 MB / 350.3 MB, free: 14.14 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1382939629256725]