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.0007726/0.0007726, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001894, allocations: 449.7 kB / 10.37 MB, free: 324 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.000783/0.000783, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009961/0.001779, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.017/1.017, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09948/1.117, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.2736/0.2736, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03575/0.3093, allocations: 13.23 MB / 292.6 MB, free: 6.469 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 1.914e-06/1.914e-06, allocations: 0 / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.272e-05, allocations: 8.422 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00665/0.006683, allocations: 4.753 MB / 298.6 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004237/0.01092, allocations: 4.165 MB / 302.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.011, allocations: 0 / 302.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.0112, allocations: 59.61 kB / 302.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.0125, allocations: 0.7883 MB / 303.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.01277, allocations: 147.6 kB / 303.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005052/0.01327, allocations: 398 kB / 304.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.01333, allocations: 10.47 kB / 304.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.01359, allocations: 207.4 kB / 304.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.01379, allocations: 135.6 kB / 304.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.01382, allocations: 8 kB / 304.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005846/0.0144, allocations: 427.2 kB / 305 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.01446, allocations: 23.88 kB / 305 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.1e-05/0.01454, allocations: 67.86 kB / 305.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.01505, allocations: 422.8 kB / 305.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.711e-05/0.01506, allocations: 0 / 305.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.01507, allocations: 0 / 305.5 MB, free: 9.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.01508, allocations: 0 / 305.5 MB, free: 9.547 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.0009559/0.01604, allocations: 0.654 MB / 306.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.01608, allocations: 16.91 kB / 306.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.01622, allocations: 56.73 kB / 306.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.01642, allocations: 153.6 kB / 306.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.01654, allocations: 226.7 kB / 306.6 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.01656, allocations: 24.38 kB / 306.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.0169, allocations: 409.2 kB / 307 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01691, allocations: 192 / 307 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.01693, allocations: 15.94 kB / 307 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.01696, allocations: 8 kB / 307 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.01728, allocations: 445.4 kB / 307.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.01809, allocations: 0.9424 MB / 308.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.01828, allocations: 151.4 kB / 308.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.01833, allocations: 49.5 kB / 308.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/0.01917, allocations: 0.7603 MB / 309.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.01919, allocations: 34.56 kB / 309.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.01919, allocations: 4 kB / 309.4 MB, free: 5.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001584/0.01935, allocations: 130.1 kB / 309.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.01938, allocations: 55.41 kB / 309.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.01951, allocations: 235 kB / 309.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.01952, allocations: 29.7 kB / 309.8 MB, free: 4.891 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.01961, allocations: 223.5 kB / 310 MB, free: 4.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.01965, allocations: 43.67 kB / 310.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.17e-05/0.01971, allocations: 86.06 kB / 310.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.0198, allocations: 330.7 kB / 310.5 MB, free: 4.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.01983, allocations: 35.8 kB / 310.5 MB, free: 4.168 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.02, allocations: 344 kB / 310.9 MB, free: 3.684 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.02026, allocations: 426.2 kB / 311.3 MB, free: 3.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.02027, allocations: 4 kB / 311.3 MB, free: 3.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002633/0.02053, allocations: 316.7 kB / 311.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.02055, allocations: 14.5 kB / 311.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.02056, allocations: 12.09 kB / 311.6 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.02057, allocations: 16 kB / 311.6 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.02073, allocations: 111.8 kB / 311.7 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.02075, allocations: 23.86 kB / 311.8 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.02087, allocations: 55.56 kB / 311.8 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.02089, allocations: 27.98 kB / 311.8 MB, free: 2.543 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 8.353e-05/0.02097, allocations: 152.4 kB / 312 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.021, allocations: 19.91 kB / 312 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.02116, allocations: 135.2 kB / 312.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.02117, allocations: 0 / 312.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.02117, allocations: 0 / 312.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.02118, allocations: 3.984 kB / 312.1 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.0214, allocations: 321.2 kB / 312.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.02141, allocations: 8.016 kB / 312.5 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.02144, allocations: 15.94 kB / 312.5 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.02147, allocations: 27.78 kB / 312.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.02147, allocations: 4 kB / 312.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.02148, allocations: 3.984 kB / 312.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.02148, allocations: 0 / 312.5 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.02148, allocations: 7.938 kB / 312.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.0216, allocations: 222 kB / 312.7 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.02162, allocations: 7.984 kB / 312.8 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.02169, allocations: 4 kB / 312.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.02171, allocations: 19.92 kB / 312.8 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.02171, allocations: 4.062 kB / 312.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.02176, allocations: 70.78 kB / 312.8 MB, free: 1.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02176, allocations: 0 / 312.8 MB, free: 1.465 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000274/0.02203, allocations: 99.86 kB / 312.9 MB, free: 1.367 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.000222/0.02225, allocations: 141 kB / 313.1 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.02241, allocations: 156.7 kB / 313.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.02243, allocations: 4.5 kB / 313.2 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.02245, allocations: 32.78 kB / 313.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.02268, allocations: 80.84 kB / 313.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/0.02597, allocations: 0.5346 MB / 313.9 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.02601, allocations: 72.33 kB / 314 MB, free: 280 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001141/0.02612, allocations: 57.22 kB / 314 MB, free: 224 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.02623, allocations: 99.28 kB / 314.1 MB, free: 124 kB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.02623, allocations: 0 / 314.1 MB, free: 124 kB / 298.7 MB Notification: Performance of Templates: time 0.005214/0.03144, allocations: 3.495 MB / 317.6 MB, free: 12.67 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,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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.268306691199541]