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.001346/0.001346, allocations: 80.8 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.001514/0.001514, allocations: 166.9 kB / 24.91 MB, free: 9.152 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 1.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.2555/0.2555, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.463e-06/1.463e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.168e-05, allocations: 2.969 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00479/0.004812, allocations: 5.165 MB / 328.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.008482, allocations: 4.711 MB / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.008563, allocations: 0 / 333.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.008808, allocations: 55.61 kB / 333.2 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001336/0.01014, allocations: 0.7181 MB / 333.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.01042, allocations: 167.7 kB / 334.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.01088, allocations: 393.9 kB / 334.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.01092, allocations: 10.45 kB / 334.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.01115, allocations: 211.4 kB / 334.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.01128, allocations: 111.6 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.0113, allocations: 8 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.01212, allocations: 343.3 kB / 335.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.94e-05/0.01219, allocations: 51.75 kB / 335.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.01225, allocations: 76.45 kB / 335.3 MB, free: 13.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.01272, allocations: 434.6 kB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.01272, allocations: 4 kB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01272, allocations: 0 / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.01273, allocations: 0 / 335.7 MB, free: 13.18 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.0006534/0.01338, allocations: 0.4971 MB / 336.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.01341, allocations: 8.031 kB / 336.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.01353, allocations: 60.72 kB / 336.3 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.01371, allocations: 161.4 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.01381, allocations: 230.7 kB / 336.7 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.01383, allocations: 28.38 kB / 336.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.01414, allocations: 426.9 kB / 337.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.01415, allocations: 192 / 337.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01417, allocations: 15.94 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.01419, allocations: 8 kB / 337.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.01452, allocations: 443.5 kB / 337.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006812/0.0152, allocations: 0.9421 MB / 338.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.01563, allocations: 143.2 kB / 338.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.01568, allocations: 44.84 kB / 338.7 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007158/0.01639, allocations: 0.681 MB / 339.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.01641, allocations: 38.56 kB / 339.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.01641, allocations: 0 / 339.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002639/0.01668, allocations: 179.2 kB / 339.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.0167, allocations: 51.41 kB / 339.6 MB, free: 8.988 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01681, allocations: 226.8 kB / 339.9 MB, free: 8.754 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01683, allocations: 37.69 kB / 339.9 MB, free: 8.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.0169, allocations: 211.5 kB / 340.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.01693, allocations: 51.56 kB / 340.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.01699, allocations: 90.06 kB / 340.2 MB, free: 8.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.01706, allocations: 330.8 kB / 340.6 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.072e-05/0.01709, allocations: 31.81 kB / 340.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.01723, allocations: 292.1 kB / 340.9 MB, free: 7.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.01745, allocations: 388.1 kB / 341.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01745, allocations: 4 kB / 341.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000261/0.01771, allocations: 296.4 kB / 341.5 MB, free: 6.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.01773, allocations: 15.98 kB / 341.6 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.01774, allocations: 8 kB / 341.6 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01775, allocations: 12 kB / 341.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.01796, allocations: 107.8 kB / 341.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.01797, allocations: 15.94 kB / 341.7 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.0181, allocations: 55.62 kB / 341.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.01812, allocations: 24.39 kB / 341.8 MB, free: 6.535 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 7.142e-05/0.01819, allocations: 152.4 kB / 341.9 MB, free: 6.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.01822, allocations: 19.98 kB / 342 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.0184, allocations: 134.9 kB / 342.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.01841, allocations: 0 / 342.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.01841, allocations: 0 / 342.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01841, allocations: 0 / 342.1 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.01859, allocations: 117.7 kB / 342.2 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01859, allocations: 7.922 kB / 342.2 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.01868, allocations: 27.98 kB / 342.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01868, allocations: 4 kB / 342.2 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01869, allocations: 4 kB / 342.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01869, allocations: 0 / 342.2 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.01869, allocations: 7.984 kB / 342.2 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.01881, allocations: 228.9 kB / 342.5 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.01884, allocations: 23.89 kB / 342.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.01886, allocations: 0 / 342.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.01894, allocations: 8 kB / 342.5 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.01896, allocations: 11.97 kB / 342.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.01897, allocations: 0 / 342.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.01901, allocations: 70.78 kB / 342.6 MB, free: 5.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01901, allocations: 0 / 342.6 MB, free: 5.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.01928, allocations: 103.8 kB / 342.7 MB, free: 5.59 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.0001764/0.01946, allocations: 148.2 kB / 342.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.01962, allocations: 155.2 kB / 343 MB, free: 5.285 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.01963, allocations: 4.5 kB / 343 MB, free: 5.281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.01965, allocations: 33.41 kB / 343 MB, free: 5.246 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.01986, allocations: 60.27 kB / 343.1 MB, free: 5.188 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/0.02064, allocations: 486.3 kB / 343.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.973e-05/0.02068, allocations: 76.33 kB / 343.6 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.02081, allocations: 59.72 kB / 343.7 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.02095, allocations: 113.3 kB / 343.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02095, allocations: 0 / 343.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of Templates: time 0.005145/0.0261, allocations: 3.825 MB / 347.6 MB, free: 0.6641 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 -s gbode -gbm=radauIIA3 -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.099097047932446]