Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001634/0.002762, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002436, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9741/0.9741, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09039/1.065, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 34.88 MB / 279.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02968/0.3083, allocations: 13.23 MB / 292.8 MB, free: 6.422 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.966e-05, allocations: 8.094 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007106/0.007126, allocations: 4.764 MB / 298.9 MB, free: 308 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.01268, allocations: 4.157 MB / 303 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.0128, allocations: 0 / 303 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.01305, allocations: 63.59 kB / 303.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.01531, allocations: 0.7883 MB / 303.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.01572, allocations: 139.7 kB / 304 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.01637, allocations: 405.9 kB / 304.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.729e-05/0.01642, allocations: 10.47 kB / 304.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.01678, allocations: 207.4 kB / 304.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.01705, allocations: 131.7 kB / 304.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.01709, allocations: 8 kB / 304.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009389/0.01803, allocations: 435.2 kB / 305.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.707e-05/0.01811, allocations: 27.88 kB / 305.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.551e-05/0.01821, allocations: 59.94 kB / 305.3 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007657/0.01897, allocations: 422.7 kB / 305.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685e-05/0.01899, allocations: 0 / 305.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01899, allocations: 0 / 305.7 MB, free: 9.461 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.01901, allocations: 0 / 305.7 MB, free: 9.461 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.001371/0.02038, allocations: 0.6618 MB / 306.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.02044, allocations: 8.922 kB / 306.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.02066, allocations: 56.73 kB / 306.4 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.02099, allocations: 153.5 kB / 306.6 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.02118, allocations: 230.6 kB / 306.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.02123, allocations: 28.38 kB / 306.8 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.02176, allocations: 401.3 kB / 307.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.02178, allocations: 8.125 kB / 307.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.02181, allocations: 15.94 kB / 307.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.02185, allocations: 8 kB / 307.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.0224, allocations: 441.5 kB / 307.7 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.02365, allocations: 0.9346 MB / 308.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/0.02441, allocations: 159.3 kB / 308.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.0245, allocations: 57.5 kB / 308.8 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.02587, allocations: 0.7564 MB / 309.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.0259, allocations: 34.56 kB / 309.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.02591, allocations: 0 / 309.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002157/0.02612, allocations: 126.8 kB / 309.7 MB, free: 5.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.02615, allocations: 51.41 kB / 309.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.02634, allocations: 235.1 kB / 310 MB, free: 4.848 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.02637, allocations: 33.64 kB / 310.1 MB, free: 4.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.0265, allocations: 227.5 kB / 310.3 MB, free: 4.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.02654, allocations: 43.67 kB / 310.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.02662, allocations: 86.06 kB / 310.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.02674, allocations: 334.7 kB / 310.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.0268, allocations: 35.8 kB / 310.8 MB, free: 4.078 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.02704, allocations: 332 kB / 311.1 MB, free: 3.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.02743, allocations: 470.1 kB / 311.6 MB, free: 2.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.02743, allocations: 4 kB / 311.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000289/0.02772, allocations: 316.6 kB / 311.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.02774, allocations: 8 kB / 311.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.02775, allocations: 12 kB / 311.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.02777, allocations: 12 kB / 311.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.02793, allocations: 111.8 kB / 312 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.02794, allocations: 23.91 kB / 312 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.02807, allocations: 59.56 kB / 312.1 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.02809, allocations: 24 kB / 312.1 MB, free: 2.43 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 9.098e-05/0.02818, allocations: 144.4 kB / 312.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.02821, allocations: 28.12 kB / 312.3 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001691/0.02838, allocations: 127 kB / 312.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.02839, allocations: 4 kB / 312.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.02839, allocations: 0 / 312.4 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.02839, allocations: 4 kB / 312.4 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.02864, allocations: 325 kB / 312.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.02864, allocations: 4 kB / 312.7 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.02867, allocations: 15.98 kB / 312.8 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.0287, allocations: 23.8 kB / 312.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.0287, allocations: 0 / 312.8 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.02871, allocations: 7.984 kB / 312.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.02872, allocations: 8.062 kB / 312.8 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.02872, allocations: 3.938 kB / 312.8 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.02884, allocations: 228.9 kB / 313 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.02886, allocations: 7.984 kB / 313 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.02893, allocations: 4 kB / 313 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.02894, allocations: 15.86 kB / 313 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.02895, allocations: 8 kB / 313.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.029, allocations: 66.78 kB / 313.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.029, allocations: 0 / 313.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.0293, allocations: 95.86 kB / 313.2 MB, free: 1.258 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.0002254/0.02952, allocations: 140.2 kB / 313.3 MB, free: 1.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.0297, allocations: 166 kB / 313.5 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.02971, allocations: 12.47 kB / 313.5 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-05/0.02974, allocations: 32.98 kB / 313.6 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.03001, allocations: 148.8 kB / 313.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.03328, allocations: 0.5349 MB / 314.2 MB, free: 172 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.865e-05/0.03333, allocations: 76.33 kB / 314.3 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.03344, allocations: 47.03 kB / 314.4 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.03356, allocations: 91.34 kB / 314.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.03356, allocations: 0 / 314.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of Templates: time 0.005563/0.03913, allocations: 3.214 MB / 317.7 MB, free: 12.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_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.15139012504369]