Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001338/0.001338, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001467/0.001467, allocations: 170.4 kB / 24.91 MB, free: 8.688 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.9507/0.9507, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2719/0.2719, allocations: 34.27 MB / 296.1 MB, free: 0.7344 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.502e-05, allocations: 5.328 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.00443/0.004445, allocations: 5.166 MB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.007982, allocations: 4.715 MB / 335.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.008048, allocations: 3.938 kB / 335.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.008283, allocations: 51.61 kB / 335.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.009314, allocations: 0.722 MB / 336 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.009543, allocations: 163.6 kB / 336.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.009916, allocations: 394.6 kB / 336.5 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.009958, allocations: 14.45 kB / 336.5 MB, free: 12.36 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.01017, allocations: 199.4 kB / 336.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.0103, allocations: 119.7 kB / 336.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.01033, allocations: 8 kB / 336.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004706/0.0108, allocations: 347.2 kB / 337.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.12e-05/0.01087, allocations: 43.83 kB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.592e-05/0.01094, allocations: 87.75 kB / 337.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004757/0.01142, allocations: 430.6 kB / 337.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01142, allocations: 0 / 337.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.01142, allocations: 0 / 337.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.01143, allocations: 0 / 337.7 MB, free: 11.15 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.0006985/0.01213, allocations: 0.4971 MB / 338.2 MB, free: 10.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.01216, allocations: 8.031 kB / 338.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.01229, allocations: 56.73 kB / 338.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.01248, allocations: 161.5 kB / 338.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.01259, allocations: 230.7 kB / 338.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.01261, allocations: 24.38 kB / 338.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.0129, allocations: 423 kB / 339.1 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.01291, allocations: 8.125 kB / 339.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.01293, allocations: 15.94 kB / 339.1 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.87e-05/0.01295, allocations: 4 kB / 339.2 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.01328, allocations: 443.5 kB / 339.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.01397, allocations: 0.9303 MB / 340.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.01414, allocations: 154.1 kB / 340.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.01419, allocations: 52.83 kB / 340.7 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007694/0.01496, allocations: 0.6771 MB / 341.4 MB, free: 7.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.01499, allocations: 34.56 kB / 341.4 MB, free: 7.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.01499, allocations: 4 kB / 341.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004243/0.01542, allocations: 182.1 kB / 341.6 MB, free: 7.031 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.01544, allocations: 55.41 kB / 341.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.01556, allocations: 221.8 kB / 341.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.01557, allocations: 29.7 kB / 341.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.01565, allocations: 219.5 kB / 342.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.01568, allocations: 51.56 kB / 342.2 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.01574, allocations: 82.06 kB / 342.3 MB, free: 6.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/0.01582, allocations: 334.8 kB / 342.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.01585, allocations: 35.81 kB / 342.6 MB, free: 5.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.01599, allocations: 288.1 kB / 342.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.01623, allocations: 392.1 kB / 343.3 MB, free: 5.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.01623, allocations: 4 kB / 343.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002496/0.01648, allocations: 291.7 kB / 343.6 MB, free: 4.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.0165, allocations: 8.969 kB / 343.6 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.01651, allocations: 8 kB / 343.6 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.01652, allocations: 16 kB / 343.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.01674, allocations: 111.8 kB / 343.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.01675, allocations: 19.92 kB / 343.7 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.01688, allocations: 51.62 kB / 343.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.0169, allocations: 27.98 kB / 343.8 MB, free: 4.516 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 8.187e-05/0.01698, allocations: 144.4 kB / 343.9 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.01701, allocations: 15.98 kB / 344 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.01717, allocations: 131.1 kB / 344.1 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.01718, allocations: 4 kB / 344.1 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01718, allocations: 0 / 344.1 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01718, allocations: 3.938 kB / 344.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01732, allocations: 113.7 kB / 344.2 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01733, allocations: 11.94 kB / 344.2 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.051e-05/0.01742, allocations: 31.97 kB / 344.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.01742, allocations: 0 / 344.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.01743, allocations: 4 kB / 344.3 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01743, allocations: 4 kB / 344.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01743, allocations: 0 / 344.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.01755, allocations: 231.1 kB / 344.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.01759, allocations: 23.83 kB / 344.5 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.0176, allocations: 4 kB / 344.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.01769, allocations: 11.94 kB / 344.5 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.01771, allocations: 7.984 kB / 344.5 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.01772, allocations: 7.984 kB / 344.5 MB, free: 3.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.01776, allocations: 66.78 kB / 344.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01776, allocations: 0 / 344.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.01803, allocations: 107.8 kB / 344.7 MB, free: 3.562 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.0001809/0.01821, allocations: 140.2 kB / 344.8 MB, free: 3.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.01837, allocations: 155.2 kB / 345 MB, free: 3.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.01838, allocations: 4.5 kB / 345 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.0184, allocations: 34.78 kB / 345 MB, free: 3.227 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01862, allocations: 69.48 kB / 345.1 MB, free: 3.164 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.0194, allocations: 489.2 kB / 345.6 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.01944, allocations: 72.33 kB / 345.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.01957, allocations: 67.72 kB / 345.7 MB, free: 2.504 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.0197, allocations: 113.3 kB / 345.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01971, allocations: 0 / 345.8 MB, free: 2.391 MB / 314.7 MB Notification: Performance of Templates: time 0.005292/0.025, allocations: 3.806 MB / 349.6 MB, free: 14.65 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0171055430546403]