Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00113/0.00113, allocations: 79.92 kB / 20.72 MB, free: 3.766 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.001184/0.001184, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.975/0.975, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1302/0.1302, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.055e-06/3.055e-06, allocations: 4 kB / 299.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.753e-05, allocations: 2.312 kB / 299.1 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1464/0.1464, allocations: 4.687 MB / 303.8 MB, free: 18.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.15, allocations: 4.154 MB / 308 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1502, allocations: 2.375 kB / 308 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.1504, allocations: 47.7 kB / 308 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.1524, allocations: 0.8056 MB / 308.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1527, allocations: 148.6 kB / 309 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.1532, allocations: 396 kB / 309.4 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1533, allocations: 12.73 kB / 309.4 MB, free: 15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.1535, allocations: 199.6 kB / 309.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.1538, allocations: 129.3 kB / 309.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1538, allocations: 8 kB / 309.7 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009208/0.1547, allocations: 428.2 kB / 310.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.518e-05/0.1548, allocations: 40 kB / 310.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.1549, allocations: 82.28 kB / 310.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.1556, allocations: 465.3 kB / 310.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1556, allocations: 0 / 310.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1556, allocations: 0 / 310.7 MB, free: 14.56 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1556, allocations: 1.281 kB / 310.7 MB, free: 14.56 MB / 282.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.0008142/0.1564, allocations: 0.5069 MB / 311.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.1564, allocations: 9.656 kB / 311.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.1566, allocations: 52.77 kB / 311.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1568, allocations: 164.1 kB / 311.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.538e-05/0.1569, allocations: 223.5 kB / 311.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.1569, allocations: 24.75 kB / 311.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.1572, allocations: 415.3 kB / 312.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1572, allocations: 2.047 kB / 312.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1572, allocations: 11.56 kB / 312.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.1573, allocations: 7.172 kB / 312.1 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.1577, allocations: 433.8 kB / 312.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.1584, allocations: 0.9411 MB / 313.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.1586, allocations: 166.4 kB / 313.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.858e-05/0.1587, allocations: 51.06 kB / 313.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008741/0.1596, allocations: 0.7656 MB / 314.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.1596, allocations: 31.72 kB / 314.5 MB, free: 12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1596, allocations: 1 kB / 314.5 MB, free: 12 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001543/0.1597, allocations: 127.4 kB / 314.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.1598, allocations: 53.19 kB / 314.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1599, allocations: 231.6 kB / 314.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.1599, allocations: 29.7 kB / 314.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.16, allocations: 229 kB / 315.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.16, allocations: 48.83 kB / 315.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.1601, allocations: 82.7 kB / 315.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.1601, allocations: 334.9 kB / 315.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.1601, allocations: 28.64 kB / 315.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1602, allocations: 337.7 kB / 315.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1605, allocations: 426.9 kB / 316.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1605, allocations: 2.75 kB / 316.4 MB, free: 10.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002678/0.1607, allocations: 325.4 kB / 316.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.1607, allocations: 9.625 kB / 316.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1608, allocations: 11 kB / 316.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1608, allocations: 13.75 kB / 316.7 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1609, allocations: 105.1 kB / 316.8 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.1609, allocations: 19.34 kB / 316.8 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/0.1611, allocations: 50.47 kB / 316.9 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.1611, allocations: 32.58 kB / 316.9 MB, free: 9.934 MB / 282.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.124e-05/0.1612, allocations: 155.8 kB / 317.1 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1612, allocations: 14.17 kB / 317.1 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.1614, allocations: 131.3 kB / 317.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.1614, allocations: 1.375 kB / 317.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.1614, allocations: 1.25 kB / 317.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1614, allocations: 0 / 317.2 MB, free: 9.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.1616, allocations: 332.1 kB / 317.5 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1616, allocations: 1.094 kB / 317.5 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.1617, allocations: 12.84 kB / 317.6 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1617, allocations: 5.234 kB / 317.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.1617, allocations: 1.469 kB / 317.6 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1617, allocations: 5.406 kB / 317.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1617, allocations: 6.094 kB / 317.6 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.1618, allocations: 235.7 kB / 317.8 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.1618, allocations: 25.2 kB / 317.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.1618, allocations: 3.594 kB / 317.8 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.1619, allocations: 6.844 kB / 317.8 MB, free: 9.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.1619, allocations: 10.98 kB / 317.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.1619, allocations: 4.688 kB / 317.9 MB, free: 9.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.162, allocations: 74.08 kB / 317.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.162, allocations: 0 / 317.9 MB, free: 9.051 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003529/0.1623, allocations: 97.5 kB / 318 MB, free: 9.027 MB / 282.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.0001926/0.1625, allocations: 141.6 kB / 318.2 MB, free: 8.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1627, allocations: 164.3 kB / 318.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.1627, allocations: 6.156 kB / 318.3 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.654e-05/0.1627, allocations: 29.44 kB / 318.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.163, allocations: 53.42 kB / 318.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.164, allocations: 0.5303 MB / 318.9 MB, free: 8.402 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.1641, allocations: 73.17 kB / 319 MB, free: 8.324 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1642, allocations: 48.16 kB / 319.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.1643, allocations: 101.3 kB / 319.2 MB, free: 8.234 MB / 282.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1643, allocations: 0 / 319.2 MB, free: 8.234 MB / 282.7 MB Notification: Performance of Templates: time 0.005727/0.1701, allocations: 3.429 MB / 322.6 MB, free: 6.129 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0944850998930633]