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.001289/0.001289, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001817/0.003106, 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.001205/0.001205, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002726, 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.018/1.018, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1008/1.118, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2836/0.2836, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0381/0.3217, allocations: 13.1 MB / 291.3 MB, free: 7.367 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.743e-06/1.743e-06, allocations: 0 / 292.7 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.22e-05, allocations: 3.734 kB / 292.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005955/0.005978, allocations: 4.758 MB / 297.4 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.01022, allocations: 4.162 MB / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.01033, allocations: 0 / 301.6 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.01055, allocations: 47.67 kB / 301.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.0126, allocations: 0.8 MB / 302.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.01294, allocations: 147.7 kB / 302.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005168/0.01346, allocations: 405.8 kB / 303 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.01351, allocations: 14.45 kB / 303 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.01377, allocations: 203.4 kB / 303.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.01401, allocations: 131.7 kB / 303.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.01404, allocations: 8 kB / 303.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009091/0.01494, allocations: 431.2 kB / 303.7 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.01501, allocations: 31.86 kB / 303.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.0151, allocations: 63.88 kB / 303.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006605/0.01576, allocations: 414.8 kB / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.955e-05/0.01578, allocations: 0 / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01578, allocations: 0 / 304.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.01581, allocations: 0 / 304.2 MB, free: 10.65 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.001129/0.01693, allocations: 0.6579 MB / 304.9 MB, free: 9.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.01697, allocations: 12.03 kB / 304.9 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.01714, allocations: 48.78 kB / 304.9 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.01737, allocations: 165.4 kB / 305.1 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001462/0.01751, allocations: 230.7 kB / 305.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.01755, allocations: 28.3 kB / 305.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.01796, allocations: 405.2 kB / 305.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01798, allocations: 4.188 kB / 305.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.01801, allocations: 15.94 kB / 305.8 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.01803, allocations: 4 kB / 305.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.01853, allocations: 441.5 kB / 306.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01954, allocations: 0.9346 MB / 307.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.01979, allocations: 155.4 kB / 307.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.188e-05/0.01986, allocations: 53.47 kB / 307.4 MB, free: 7.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.02102, allocations: 0.7603 MB / 308.1 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.02104, allocations: 30.56 kB / 308.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.02104, allocations: 0 / 308.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000189/0.02123, allocations: 131.8 kB / 308.3 MB, free: 6.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.02127, allocations: 51.41 kB / 308.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.02143, allocations: 240.5 kB / 308.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.02145, allocations: 29.7 kB / 308.6 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.02156, allocations: 227.4 kB / 308.8 MB, free: 5.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.02159, allocations: 43.69 kB / 308.9 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-05/0.02168, allocations: 90.06 kB / 308.9 MB, free: 5.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.02178, allocations: 338.7 kB / 309.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.02183, allocations: 35.81 kB / 309.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.02204, allocations: 328.1 kB / 309.6 MB, free: 4.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.02238, allocations: 438.1 kB / 310.1 MB, free: 4.211 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.02239, allocations: 4 kB / 310.1 MB, free: 4.207 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003871/0.02278, allocations: 320.5 kB / 310.4 MB, free: 3.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.0228, allocations: 12 kB / 310.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.02281, allocations: 8 kB / 310.4 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.02283, allocations: 16 kB / 310.4 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.02306, allocations: 107.8 kB / 310.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/0.02307, allocations: 19.94 kB / 310.5 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.02328, allocations: 55.56 kB / 310.6 MB, free: 3.672 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.02331, allocations: 24 kB / 310.6 MB, free: 3.648 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.812e-05/0.02341, allocations: 152.6 kB / 310.8 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.02345, allocations: 19.98 kB / 310.8 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.02365, allocations: 131.4 kB / 310.9 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.02366, allocations: 0 / 310.9 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.02366, allocations: 4 kB / 310.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.02366, allocations: 0 / 310.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.02396, allocations: 329 kB / 311.2 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.02396, allocations: 0 / 311.2 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.476e-05/0.02401, allocations: 12 kB / 311.2 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.02404, allocations: 27.78 kB / 311.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.02405, allocations: 0 / 311.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.02406, allocations: 8 kB / 311.3 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.02406, allocations: 3.938 kB / 311.3 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.02406, allocations: 3.938 kB / 311.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.0242, allocations: 228.9 kB / 311.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.02423, allocations: 8 kB / 311.5 MB, free: 2.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.02434, allocations: 7.984 kB / 311.5 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.02436, allocations: 7.922 kB / 311.5 MB, free: 2.645 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.02437, allocations: 4 kB / 311.5 MB, free: 2.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.407e-05/0.02443, allocations: 70.78 kB / 311.6 MB, free: 2.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02443, allocations: 3.938 kB / 311.6 MB, free: 2.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004485/0.02488, allocations: 99.86 kB / 311.7 MB, free: 2.469 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.0002575/0.02514, allocations: 136.3 kB / 311.8 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.02535, allocations: 160.4 kB / 312 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.917e-05/0.02537, allocations: 12.8 kB / 312 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/0.0254, allocations: 24.86 kB / 312 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.02573, allocations: 84.5 kB / 312.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/0.03071, allocations: 0.5348 MB / 312.6 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.26e-05/0.03077, allocations: 72.33 kB / 312.7 MB, free: 1.379 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.03093, allocations: 51.03 kB / 312.8 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.03107, allocations: 99.28 kB / 312.9 MB, free: 1.23 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03107, allocations: 0 / 312.9 MB, free: 1.23 MB / 298.7 MB Notification: Performance of Templates: time 0.006571/0.03764, allocations: 3.501 MB / 316.4 MB, free: 13.78 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,rangeDelta=0.001) [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.2064422592520714]