Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009375/0.0009375, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002225, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008781/0.0008781, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001147/0.002025, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.008/1.008, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08764/1.095, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02287/0.279, allocations: 13.1 MB / 291.5 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 3.938 kB / 292.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.568e-06/1.127e-05, allocations: 7.719 kB / 292.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003825/0.003836, allocations: 4.757 MB / 297.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.006575, allocations: 4.165 MB / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.00664, allocations: 0 / 301.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.006792, allocations: 55.61 kB / 301.9 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.009057, allocations: 0.7961 MB / 302.7 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.009464, allocations: 146 kB / 302.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.01015, allocations: 401.9 kB / 303.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.862e-05/0.01021, allocations: 6.469 kB / 303.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.01055, allocations: 207.4 kB / 303.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.01083, allocations: 131.7 kB / 303.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.01087, allocations: 12 kB / 303.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.01192, allocations: 427.2 kB / 304 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.012, allocations: 27.88 kB / 304 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.01209, allocations: 63.88 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000761/0.01285, allocations: 418.8 kB / 304.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.758e-05/0.01287, allocations: 4 kB / 304.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01287, allocations: 0 / 304.5 MB, free: 10.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.01288, allocations: 0 / 304.5 MB, free: 10.53 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.001175/0.01406, allocations: 0.654 MB / 305.1 MB, free: 9.836 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.0141, allocations: 16.02 kB / 305.1 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.0143, allocations: 48.78 kB / 305.2 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.01456, allocations: 161.5 kB / 305.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.0147, allocations: 226.7 kB / 305.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.01474, allocations: 28.38 kB / 305.6 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.01515, allocations: 409.2 kB / 306 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.01516, allocations: 192 / 306 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.01519, allocations: 15.94 kB / 306 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.01522, allocations: 8 kB / 306 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.0157, allocations: 437.5 kB / 306.4 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01681, allocations: 0.9424 MB / 307.4 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.01707, allocations: 151.4 kB / 307.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.01714, allocations: 49.5 kB / 307.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/0.01833, allocations: 0.7642 MB / 308.3 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.01835, allocations: 34.56 kB / 308.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.01836, allocations: 0 / 308.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002011/0.01856, allocations: 129.4 kB / 308.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.01858, allocations: 55.41 kB / 308.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.01875, allocations: 236.5 kB / 308.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.01877, allocations: 33.7 kB / 308.8 MB, free: 5.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.01889, allocations: 227.5 kB / 309 MB, free: 5.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.01892, allocations: 39.67 kB / 309.1 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.01901, allocations: 86.06 kB / 309.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.01914, allocations: 334.7 kB / 309.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.0192, allocations: 35.8 kB / 309.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.01947, allocations: 332.1 kB / 309.8 MB, free: 4.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.01987, allocations: 462.1 kB / 310.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.01987, allocations: 4 kB / 310.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004028/0.02028, allocations: 316.1 kB / 310.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.0203, allocations: 12 kB / 310.6 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.02031, allocations: 8 kB / 310.6 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.02034, allocations: 16 kB / 310.6 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.02057, allocations: 107.8 kB / 310.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.02058, allocations: 20.55 kB / 310.8 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.0208, allocations: 63.56 kB / 310.8 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.02083, allocations: 24 kB / 310.9 MB, free: 3.512 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 0.0001047/0.02094, allocations: 152.4 kB / 311 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.02098, allocations: 11.98 kB / 311 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.0212, allocations: 139.3 kB / 311.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.02122, allocations: 0 / 311.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.02122, allocations: 4 kB / 311.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.02123, allocations: 0 / 311.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.02158, allocations: 321.1 kB / 311.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.02158, allocations: 0 / 311.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.695e-05/0.02164, allocations: 23.92 kB / 311.5 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.02168, allocations: 23.8 kB / 311.5 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.02168, allocations: 8.031 kB / 311.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.02169, allocations: 4 kB / 311.5 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.02169, allocations: 3.984 kB / 311.5 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.0217, allocations: 7.938 kB / 311.5 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.02186, allocations: 224.8 kB / 311.8 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.0219, allocations: 7.984 kB / 311.8 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.02202, allocations: 4 kB / 311.8 MB, free: 2.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.02204, allocations: 15.92 kB / 311.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.02205, allocations: 0 / 311.8 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.02212, allocations: 70.78 kB / 311.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02212, allocations: 0 / 311.9 MB, free: 2.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003411/0.02246, allocations: 99.86 kB / 311.9 MB, free: 2.328 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.0002114/0.02267, allocations: 140.3 kB / 312.1 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.02284, allocations: 169.2 kB / 312.3 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/0.02285, allocations: 4.5 kB / 312.3 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.933e-05/0.02288, allocations: 32.72 kB / 312.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.02315, allocations: 160.5 kB / 312.4 MB, free: 1.809 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.02646, allocations: 0.5409 MB / 313 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.0265, allocations: 68.34 kB / 313.1 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02661, allocations: 54.95 kB / 313.1 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.02671, allocations: 99.28 kB / 313.2 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02671, allocations: 4 kB / 313.2 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of Templates: time 0.004914/0.03163, allocations: 3.194 MB / 316.4 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.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.1174512589350343]