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.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.000933/0.000933, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002471, 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.0009671/0.0009671, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002394, 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.8859/0.8859, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1677/1.054, allocations: 52.49 MB / 238.5 MB, free: 7.641 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.1526/0.1526, allocations: 32.8 MB / 272 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02436/0.1769, allocations: 12.53 MB / 284.5 MB, free: 9.738 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.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.423e-06/1.423e-06, allocations: 3.938 kB / 285.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.491e-05, allocations: 2.312 kB / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004084/0.004099, allocations: 4.698 MB / 290.6 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.007203, allocations: 4.165 MB / 294.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.651e-05/0.00729, allocations: 4 kB / 294.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.007472, allocations: 47.67 kB / 294.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.008859, allocations: 0.7961 MB / 295.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.009135, allocations: 151.7 kB / 295.7 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.009586, allocations: 398 kB / 296.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.00963, allocations: 6.469 kB / 296.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.009844, allocations: 203.4 kB / 296.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.01006, allocations: 135.7 kB / 296.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.01009, allocations: 8 kB / 296.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005694/0.01066, allocations: 423.2 kB / 296.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.944e-05/0.01071, allocations: 31.88 kB / 296.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.01078, allocations: 67.88 kB / 297 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.01126, allocations: 422.7 kB / 297.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-05/0.01128, allocations: 3.938 kB / 297.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01128, allocations: 0 / 297.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.01129, allocations: 0 / 297.4 MB, free: 12.82 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.0009094/0.0122, allocations: 0.6568 MB / 298.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01224, allocations: 12.03 kB / 298.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.01238, allocations: 44.84 kB / 298.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.01259, allocations: 161.5 kB / 298.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.0127, allocations: 222.7 kB / 298.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/0.01273, allocations: 28.31 kB / 298.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.01305, allocations: 405.3 kB / 298.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.01306, allocations: 8.125 kB / 298.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.01308, allocations: 15.94 kB / 298.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.0131, allocations: 4 kB / 298.9 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.01341, allocations: 445.5 kB / 299.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.01423, allocations: 0.9385 MB / 300.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.0144, allocations: 163.3 kB / 300.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.01444, allocations: 45.5 kB / 300.5 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/0.01523, allocations: 0.7525 MB / 301.3 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.01525, allocations: 34.56 kB / 301.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.01525, allocations: 0 / 301.3 MB, free: 8.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001627/0.01542, allocations: 129.4 kB / 301.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.01544, allocations: 51.41 kB / 301.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.01557, allocations: 243 kB / 301.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.01558, allocations: 29.7 kB / 301.7 MB, free: 8.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.01568, allocations: 223.4 kB / 302 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.0157, allocations: 51.67 kB / 302 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.01577, allocations: 90 kB / 302.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.01585, allocations: 330.7 kB / 302.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.01589, allocations: 35.8 kB / 302.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.01603, allocations: 332.1 kB / 302.8 MB, free: 6.969 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.01629, allocations: 458.1 kB / 303.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.01629, allocations: 4 kB / 303.2 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002529/0.01654, allocations: 316.4 kB / 303.5 MB, free: 6.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01656, allocations: 12 kB / 303.6 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.01657, allocations: 8 kB / 303.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.01659, allocations: 16.05 kB / 303.6 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.01673, allocations: 115.8 kB / 303.7 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.01675, allocations: 23.92 kB / 303.7 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.01687, allocations: 51.62 kB / 303.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01689, allocations: 24 kB / 303.8 MB, free: 5.805 MB / 298.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.476e-05/0.01696, allocations: 156.7 kB / 303.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.01699, allocations: 19.97 kB / 304 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.01713, allocations: 127.3 kB / 304.1 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.01714, allocations: 8 kB / 304.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.01714, allocations: 0 / 304.1 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01715, allocations: 3.984 kB / 304.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.01735, allocations: 325 kB / 304.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01735, allocations: 0 / 304.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.01738, allocations: 15.98 kB / 304.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01741, allocations: 19.86 kB / 304.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01741, allocations: 0 / 304.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.01742, allocations: 7.984 kB / 304.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01742, allocations: 0 / 304.5 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01742, allocations: 8.031 kB / 304.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.694e-05/0.01752, allocations: 228.8 kB / 304.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.01754, allocations: 15.86 kB / 304.7 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.01761, allocations: 12.05 kB / 304.7 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.01762, allocations: 15.86 kB / 304.7 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.01763, allocations: 4 kB / 304.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.769e-05/0.01768, allocations: 70.78 kB / 304.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01768, allocations: 0 / 304.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.01794, allocations: 91.86 kB / 304.9 MB, free: 4.617 MB / 298.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.0001897/0.01813, allocations: 144.3 kB / 305 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01829, allocations: 165.9 kB / 305.2 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.0183, allocations: 16.77 kB / 305.2 MB, free: 4.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.01833, allocations: 28.8 kB / 305.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01858, allocations: 150.8 kB / 305.4 MB, free: 4.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.02177, allocations: 0.5347 MB / 305.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.704e-05/0.02181, allocations: 72.33 kB / 306 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.02191, allocations: 42.84 kB / 306 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/0.02201, allocations: 99.34 kB / 306.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.02201, allocations: 0 / 306.1 MB, free: 3.301 MB / 298.7 MB Notification: Performance of Templates: time 0.004624/0.02663, allocations: 3.223 MB / 309.4 MB, free: 120 kB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 2.931145343929529]