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.0008771/0.0008771, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001289/0.002166, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007546/0.0007546, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009813/0.001736, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1331/1.152, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.2703/0.2703, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04966/0.3199, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.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 8.12e-07/8.12e-07, allocations: 0 / 290.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.81e-05, allocations: 3.719 kB / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005279/0.005297, allocations: 4.766 MB / 295.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.008648, allocations: 4.157 MB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.008753, allocations: 0 / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.008959, allocations: 59.59 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.0105, allocations: 0.7923 MB / 300.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.01078, allocations: 147.6 kB / 300.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004936/0.01127, allocations: 397.9 kB / 300.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.01132, allocations: 18.47 kB / 301 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.01154, allocations: 203.4 kB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.01173, allocations: 127.7 kB / 301.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.01176, allocations: 8 kB / 301.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008744/0.01263, allocations: 435.2 kB / 301.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.059e-05/0.0127, allocations: 23.88 kB / 301.7 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.036e-05/0.01278, allocations: 63.88 kB / 301.8 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006349/0.01342, allocations: 418.8 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.861e-05/0.01344, allocations: 0 / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.01344, allocations: 0 / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.01346, allocations: 0 / 302.2 MB, free: 12.66 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.001016/0.01447, allocations: 0.6613 MB / 302.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.0145, allocations: 12.03 kB / 302.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.01464, allocations: 56.72 kB / 302.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.01485, allocations: 157.6 kB / 303.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.01496, allocations: 222.7 kB / 303.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.01499, allocations: 28.36 kB / 303.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.01531, allocations: 413.2 kB / 303.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.01532, allocations: 192 / 303.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.01534, allocations: 15.94 kB / 303.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.01537, allocations: 8 kB / 303.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003736/0.01574, allocations: 437.5 kB / 304.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008391/0.01658, allocations: 0.9385 MB / 305.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.01677, allocations: 160.3 kB / 305.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.01681, allocations: 53.44 kB / 305.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009068/0.01772, allocations: 0.7564 MB / 306.1 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.01775, allocations: 34.5 kB / 306.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.01775, allocations: 0 / 306.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001619/0.01791, allocations: 131.2 kB / 306.3 MB, free: 8.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.01794, allocations: 55.41 kB / 306.3 MB, free: 8.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.01806, allocations: 236.6 kB / 306.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.01807, allocations: 25.7 kB / 306.6 MB, free: 8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.01815, allocations: 231.5 kB / 306.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.01817, allocations: 43.67 kB / 306.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.01823, allocations: 86.06 kB / 306.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.01845, allocations: 330.7 kB / 307.2 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.01848, allocations: 35.8 kB / 307.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.01863, allocations: 336 kB / 307.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.01888, allocations: 430.1 kB / 308 MB, free: 6.227 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.01888, allocations: 4 kB / 308 MB, free: 6.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002547/0.01914, allocations: 316.4 kB / 308.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01915, allocations: 12 kB / 308.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.01916, allocations: 12 kB / 308.4 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.01918, allocations: 12 kB / 308.4 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.01932, allocations: 115.8 kB / 308.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.01934, allocations: 19.92 kB / 308.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01946, allocations: 55.56 kB / 308.6 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.01948, allocations: 24.38 kB / 308.6 MB, free: 5.66 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.505e-05/0.01955, allocations: 152.4 kB / 308.7 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.01957, allocations: 11.98 kB / 308.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.01972, allocations: 131.4 kB / 308.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.01972, allocations: 4 kB / 308.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01973, allocations: 0 / 308.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01973, allocations: 0 / 308.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.01996, allocations: 333 kB / 309.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01996, allocations: 0 / 309.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.02, allocations: 19.92 kB / 309.2 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.02002, allocations: 23.8 kB / 309.3 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.02002, allocations: 4 kB / 309.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.02003, allocations: 0 / 309.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.02003, allocations: 96 / 309.3 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.02004, allocations: 15.92 kB / 309.3 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/0.02014, allocations: 228.8 kB / 309.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.02016, allocations: 4 kB / 309.5 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.02022, allocations: 11.98 kB / 309.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.02024, allocations: 11.92 kB / 309.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.02024, allocations: 0 / 309.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.46e-05/0.02029, allocations: 70.78 kB / 309.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02029, allocations: 0 / 309.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.02056, allocations: 95.88 kB / 309.7 MB, free: 4.484 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.000199/0.02075, allocations: 144.2 kB / 309.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.02092, allocations: 156.7 kB / 310 MB, free: 4.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.02094, allocations: 12.56 kB / 310 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.02096, allocations: 28.77 kB / 310 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.0212, allocations: 72.41 kB / 310.1 MB, free: 4.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003539/0.02474, allocations: 0.5421 MB / 310.6 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.02478, allocations: 68.34 kB / 310.7 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.0249, allocations: 54.92 kB / 310.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.025, allocations: 103.3 kB / 310.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.025, allocations: 0 / 310.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of Templates: time 0.005085/0.03009, allocations: 3.506 MB / 314.4 MB, free: 15.78 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 -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,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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.3310262262821198]