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.001205/0.001205, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.00428/0.00428, allocations: 170.3 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.9871/0.9871, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.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.3229/0.3229, allocations: 34.27 MB / 296.1 MB, free: 0.6797 MB / 266.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 2.003e-06/2.003e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.124e-05, allocations: 3.984 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.0069/0.006932, allocations: 4.752 MB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004733/0.01166, allocations: 4.147 MB / 334.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.01184, allocations: 7.938 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003133/0.01215, allocations: 47.67 kB / 334.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.01443, allocations: 0.8116 MB / 335.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.0148, allocations: 143.7 kB / 335.2 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006409/0.01544, allocations: 389.9 kB / 335.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.0155, allocations: 22.44 kB / 335.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.01582, allocations: 203.4 kB / 335.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.01609, allocations: 127.7 kB / 336 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.01612, allocations: 8 kB / 336 MB, free: 12.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.01726, allocations: 423.2 kB / 336.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.01734, allocations: 43.81 kB / 336.4 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.01745, allocations: 83.75 kB / 336.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.01845, allocations: 466.6 kB / 337 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01846, allocations: 0 / 337 MB, free: 11.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.01846, allocations: 0 / 337 MB, free: 11.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.01847, allocations: 0 / 337 MB, free: 11.95 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.001162/0.01963, allocations: 0.5049 MB / 337.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01967, allocations: 12.03 kB / 337.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.01988, allocations: 52.8 kB / 337.5 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.02016, allocations: 161.4 kB / 337.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.0203, allocations: 230.7 kB / 337.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.02034, allocations: 24.38 kB / 337.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.02076, allocations: 409.2 kB / 338.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.02078, allocations: 192 / 338.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.0208, allocations: 11.94 kB / 338.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.02083, allocations: 11.98 kB / 338.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004919/0.02132, allocations: 433.5 kB / 338.8 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.02249, allocations: 0.9579 MB / 339.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.02276, allocations: 151.4 kB / 339.9 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.02283, allocations: 53.48 kB / 339.9 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001251/0.02408, allocations: 0.7564 MB / 340.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.02411, allocations: 38.56 kB / 340.7 MB, free: 7.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.794e-06/0.02411, allocations: 0 / 340.7 MB, free: 7.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002034/0.02432, allocations: 127.8 kB / 340.9 MB, free: 7.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.02434, allocations: 55.34 kB / 340.9 MB, free: 7.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.02455, allocations: 231.1 kB / 341.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.02457, allocations: 25.7 kB / 341.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.02468, allocations: 227.4 kB / 341.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.02471, allocations: 47.67 kB / 341.4 MB, free: 7.188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.02479, allocations: 82.06 kB / 341.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.02488, allocations: 338.7 kB / 341.8 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.02492, allocations: 31.81 kB / 341.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.02509, allocations: 336.1 kB / 342.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.02537, allocations: 438.1 kB / 342.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.02538, allocations: 4 kB / 342.6 MB, free: 5.672 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002957/0.02567, allocations: 316.5 kB / 342.9 MB, free: 5.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.02569, allocations: 8.219 kB / 342.9 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.0257, allocations: 16 kB / 343 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.02572, allocations: 12 kB / 343 MB, free: 5.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.02588, allocations: 107.8 kB / 343.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.02589, allocations: 19.94 kB / 343.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.02602, allocations: 51.62 kB / 343.2 MB, free: 5.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.02605, allocations: 24 kB / 343.2 MB, free: 5.121 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 0.000102/0.02615, allocations: 156.3 kB / 343.3 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.02618, allocations: 15.98 kB / 343.3 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.02636, allocations: 135.4 kB / 343.5 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.02637, allocations: 3.984 kB / 343.5 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.02637, allocations: 0 / 343.5 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.02637, allocations: 0 / 343.5 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.02665, allocations: 329 kB / 343.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02665, allocations: 64 / 343.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.02668, allocations: 16 kB / 343.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.02669, allocations: 0 / 343.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.02669, allocations: 4 kB / 343.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.02669, allocations: 0 / 343.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.0267, allocations: 3.938 kB / 343.8 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.02682, allocations: 232.8 kB / 344.1 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.02685, allocations: 27.78 kB / 344.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.02687, allocations: 7.938 kB / 344.1 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.02694, allocations: 8.094 kB / 344.1 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.832e-05/0.02696, allocations: 11.92 kB / 344.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.02697, allocations: 4 kB / 344.1 MB, free: 4.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.212e-05/0.02702, allocations: 70.78 kB / 344.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02702, allocations: 0 / 344.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003229/0.02734, allocations: 95.86 kB / 344.3 MB, free: 3.938 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.0002203/0.02756, allocations: 140.2 kB / 344.4 MB, free: 3.789 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.02774, allocations: 168.3 kB / 344.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.02775, allocations: 4.5 kB / 344.6 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.02777, allocations: 28.78 kB / 344.6 MB, free: 3.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.02801, allocations: 52.97 kB / 344.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.02896, allocations: 0.527 MB / 345.2 MB, free: 2.973 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.597e-05/0.029, allocations: 76.31 kB / 345.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.02913, allocations: 54.92 kB / 345.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.02924, allocations: 95.34 kB / 345.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02924, allocations: 0 / 345.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of Templates: time 0.005532/0.03477, allocations: 3.421 MB / 348.8 MB, free: 15.36 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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] Reference file matches [Calling sys.exit(0), Time elapsed: 2.97645166516304]