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.000988/0.000988, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.00111/0.00111, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.8863/0.8863, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.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.2452/0.2452, allocations: 34.86 MB / 296.6 MB, free: 408 kB / 266.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 1.272e-06/1.272e-06, allocations: 0 / 325.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.573e-05, allocations: 6.281 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004132/0.004147, allocations: 4.7 MB / 330.6 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.006839, allocations: 4.146 MB / 334.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.96e-05/0.006899, allocations: 4 kB / 334.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.007139, allocations: 55.61 kB / 334.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.008579, allocations: 0.8157 MB / 335.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.008846, allocations: 147.6 kB / 335.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.009312, allocations: 407.5 kB / 336.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.009353, allocations: 7.219 kB / 336.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.009556, allocations: 199.5 kB / 336.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.009745, allocations: 135.6 kB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.009768, allocations: 8 kB / 336.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006518/0.01042, allocations: 399.2 kB / 336.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.01049, allocations: 55.75 kB / 337 MB, free: 12.03 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.01056, allocations: 83.77 kB / 337.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.01111, allocations: 458.6 kB / 337.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01111, allocations: 4 kB / 337.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.01112, allocations: 0 / 337.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.187e-06/0.01112, allocations: 0 / 337.5 MB, free: 11.49 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.0006957/0.01182, allocations: 0.5083 MB / 338 MB, free: 10.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.01186, allocations: 12.03 kB / 338 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.01199, allocations: 48.8 kB / 338.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.01217, allocations: 161.4 kB / 338.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.01229, allocations: 230.7 kB / 338.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.01231, allocations: 24.38 kB / 338.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.01263, allocations: 405.2 kB / 338.9 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.01264, allocations: 4.172 kB / 338.9 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.01266, allocations: 15.94 kB / 338.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.01268, allocations: 8 kB / 338.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.013, allocations: 441.5 kB / 339.4 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.01373, allocations: 0.954 MB / 340.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.01391, allocations: 151.4 kB / 340.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.01396, allocations: 57.48 kB / 340.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/0.01487, allocations: 0.7486 MB / 341.3 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.01489, allocations: 34.56 kB / 341.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.01489, allocations: 0 / 341.3 MB, free: 7.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001796/0.01507, allocations: 133.4 kB / 341.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.0151, allocations: 51.41 kB / 341.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.01526, allocations: 231.1 kB / 341.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.01528, allocations: 29.7 kB / 341.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.81e-05/0.01536, allocations: 227.4 kB / 342 MB, free: 6.777 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.01539, allocations: 39.67 kB / 342 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.01545, allocations: 90.06 kB / 342.1 MB, free: 6.645 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.673e-05/0.01553, allocations: 338.7 kB / 342.4 MB, free: 6.305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.01556, allocations: 31.81 kB / 342.4 MB, free: 6.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.01571, allocations: 332.1 kB / 342.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.01597, allocations: 438.1 kB / 343.2 MB, free: 5.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.01598, allocations: 8 kB / 343.2 MB, free: 5.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002728/0.01625, allocations: 316.7 kB / 343.5 MB, free: 4.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.01627, allocations: 12 kB / 343.5 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.01628, allocations: 8 kB / 343.5 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.0163, allocations: 16 kB / 343.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.01645, allocations: 95.83 kB / 343.6 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.01646, allocations: 19.92 kB / 343.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.01659, allocations: 59.56 kB / 343.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.01662, allocations: 27.94 kB / 343.7 MB, free: 4.664 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 8.659e-05/0.0167, allocations: 148.4 kB / 343.9 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.01674, allocations: 23.97 kB / 343.9 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.0169, allocations: 130.6 kB / 344 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.01691, allocations: 0 / 344 MB, free: 4.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.01691, allocations: 7.938 kB / 344 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01692, allocations: 0 / 344 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.01716, allocations: 321.1 kB / 344.4 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01717, allocations: 0 / 344.4 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.0172, allocations: 15.98 kB / 344.4 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.0172, allocations: 4 kB / 344.4 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.01721, allocations: 4 kB / 344.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01721, allocations: 8 kB / 344.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01722, allocations: 4 kB / 344.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.01732, allocations: 228.7 kB / 344.6 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.01735, allocations: 27.89 kB / 344.6 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.01737, allocations: 11.98 kB / 344.7 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.605e-05/0.01744, allocations: 4 kB / 344.7 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.01745, allocations: 11.92 kB / 344.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.01746, allocations: 4 kB / 344.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.545e-05/0.01751, allocations: 70.78 kB / 344.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01751, allocations: 0 / 344.7 MB, free: 3.586 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.0178, allocations: 91.88 kB / 344.8 MB, free: 3.496 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.0001927/0.01799, allocations: 148.4 kB / 345 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.01815, allocations: 163.8 kB / 345.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.01816, allocations: 5.438 kB / 345.1 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.01818, allocations: 24.91 kB / 345.2 MB, free: 3.148 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.01839, allocations: 56.41 kB / 345.2 MB, free: 3.09 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.01924, allocations: 0.5269 MB / 345.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.001e-05/0.01928, allocations: 72.33 kB / 345.8 MB, free: 2.438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.01939, allocations: 50.84 kB / 345.9 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.01949, allocations: 99.28 kB / 346 MB, free: 2.289 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01949, allocations: 0 / 346 MB, free: 2.289 MB / 314.7 MB Notification: Performance of Templates: time 0.004682/0.02417, allocations: 3.414 MB / 349.4 MB, free: 14.93 MB / 330.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 -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,rangeDelta=0.001) [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] Reference file matches [Calling sys.exit(0), Time elapsed: 2.913661236874759]