Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001018/0.001018, 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.00134/0.00134, allocations: 170.2 kB / 24.91 MB, free: 8.73 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2539/0.2539, allocations: 32.81 MB / 294.6 MB, free: 1.227 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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 323.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.841e-05, allocations: 5.219 kB / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004365/0.004384, allocations: 4.709 MB / 328 MB, free: 4.984 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.007216, allocations: 4.158 MB / 332.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.007278, allocations: 4 kB / 332.1 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.007503, allocations: 47.67 kB / 332.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.008878, allocations: 0.8235 MB / 333 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.009078, allocations: 143.6 kB / 333.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.00943, allocations: 403.6 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.00947, allocations: 6.469 kB / 333.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.009644, allocations: 203.4 kB / 333.7 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.009789, allocations: 131.7 kB / 333.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.009809, allocations: 11.98 kB / 333.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.01026, allocations: 407.2 kB / 334.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.01032, allocations: 43.83 kB / 334.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.01039, allocations: 84.39 kB / 334.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.01085, allocations: 462.6 kB / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01086, allocations: 0 / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.01086, allocations: 0 / 334.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.01086, allocations: 4 kB / 334.8 MB, free: 14.07 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.000691/0.01155, allocations: 0.5042 MB / 335.3 MB, free: 13.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.01158, allocations: 12.03 kB / 335.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.01169, allocations: 52.78 kB / 335.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.01187, allocations: 161.4 kB / 335.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.01197, allocations: 230.7 kB / 335.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.012, allocations: 24.38 kB / 335.8 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.01227, allocations: 409.2 kB / 336.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01228, allocations: 4.172 kB / 336.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.0123, allocations: 15.94 kB / 336.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.01232, allocations: 4 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.01262, allocations: 441.5 kB / 336.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.01332, allocations: 0.9463 MB / 337.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.0135, allocations: 159.4 kB / 337.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.01354, allocations: 53.5 kB / 337.8 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000772/0.01432, allocations: 0.7524 MB / 338.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.01434, allocations: 30.56 kB / 338.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.21e-07/0.01434, allocations: 0 / 338.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001469/0.01448, allocations: 130.5 kB / 338.7 MB, free: 9.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.01451, allocations: 59.41 kB / 338.8 MB, free: 9.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.01462, allocations: 227.1 kB / 339 MB, free: 9.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.01464, allocations: 33.7 kB / 339 MB, free: 9.578 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.01472, allocations: 231.4 kB / 339.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.01474, allocations: 39.67 kB / 339.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.01505, allocations: 86.06 kB / 339.4 MB, free: 9.219 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.01512, allocations: 330.7 kB / 339.7 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.01515, allocations: 39.8 kB / 339.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.0153, allocations: 328.1 kB / 340.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.01555, allocations: 442.1 kB / 340.5 MB, free: 7.801 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.01555, allocations: 4 kB / 340.5 MB, free: 7.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002486/0.0158, allocations: 319.9 kB / 340.8 MB, free: 7.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.01582, allocations: 12 kB / 340.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.01583, allocations: 11.94 kB / 340.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01584, allocations: 16.81 kB / 340.9 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.01598, allocations: 99.83 kB / 341 MB, free: 7.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.01599, allocations: 19.94 kB / 341 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.01611, allocations: 51.62 kB / 341 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01613, allocations: 27.98 kB / 341.1 MB, free: 7.242 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * 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.817e-05/0.01621, allocations: 156.3 kB / 341.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.01623, allocations: 15.98 kB / 341.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.01639, allocations: 131.4 kB / 341.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/0.0164, allocations: 7.938 kB / 341.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.0164, allocations: 0 / 341.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.0164, allocations: 0 / 341.4 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.01662, allocations: 321.1 kB / 341.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01662, allocations: 0 / 341.7 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.01665, allocations: 12 kB / 341.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01665, allocations: 8.094 kB / 341.7 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-06/0.01666, allocations: 0 / 341.7 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01666, allocations: 7.922 kB / 341.7 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01666, allocations: 4 kB / 341.7 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.574e-05/0.01676, allocations: 228.7 kB / 341.9 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.754e-05/0.01678, allocations: 27.78 kB / 342 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.0168, allocations: 4 kB / 342 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.01687, allocations: 8 kB / 342 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.01688, allocations: 11.92 kB / 342 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.01689, allocations: 0 / 342 MB, free: 6.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.01693, allocations: 74.78 kB / 342.1 MB, free: 6.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01693, allocations: 0 / 342.1 MB, free: 6.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.01721, allocations: 99.86 kB / 342.2 MB, free: 6.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002023/0.01741, allocations: 140.2 kB / 342.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.01756, allocations: 163.5 kB / 342.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.01757, allocations: 4.5 kB / 342.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.805e-05/0.01759, allocations: 28.77 kB / 342.5 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.0178, allocations: 57.98 kB / 342.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.01861, allocations: 0.5247 MB / 343.1 MB, free: 5.102 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.01864, allocations: 72.33 kB / 343.1 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.01875, allocations: 46.84 kB / 343.2 MB, free: 4.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.01885, allocations: 99.34 kB / 343.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01885, allocations: 4 kB / 343.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of Templates: time 0.005206/0.02406, allocations: 3.424 MB / 346.7 MB, free: 1.488 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1640008529648185]