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.002033/0.002033, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002065/0.002065, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 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 1.632/1.632, allocations: 158.6 MB / 185.3 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2321/0.2321, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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 1.864e-06/1.864e-06, allocations: 0 / 347 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.229e-05, allocations: 2.312 kB / 347 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00474/0.004772, allocations: 4.599 MB / 351.6 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.008171, allocations: 4.095 MB / 355.7 MB, free: 1.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.008284, allocations: 3.938 kB / 355.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.008578, allocations: 55.61 kB / 355.7 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.01043, allocations: 0.761 MB / 356.5 MB, free: 212 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.01073, allocations: 123.8 kB / 356.6 MB, free: 88 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006207/0.01135, allocations: 385.9 kB / 357 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.171e-05/0.0114, allocations: 13.81 kB / 357 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.01169, allocations: 195.4 kB / 357.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.01198, allocations: 131.7 kB / 357.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.815e-05/0.01202, allocations: 8 kB / 357.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.01307, allocations: 387.2 kB / 357.7 MB, free: 14.99 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.01318, allocations: 59.73 kB / 357.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.01331, allocations: 71.84 kB / 357.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009283/0.01424, allocations: 494.4 kB / 358.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01424, allocations: 0 / 358.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.01424, allocations: 0 / 358.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.01425, allocations: 0 / 358.3 MB, free: 14.38 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.001354/0.0156, allocations: 0.632 MB / 359 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.01565, allocations: 12.03 kB / 359 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.01588, allocations: 52.73 kB / 359 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.01619, allocations: 164.3 kB / 359.2 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.01645, allocations: 234.6 kB / 359.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.01649, allocations: 24.38 kB / 359.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.0175, allocations: 441.6 kB / 359.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.01752, allocations: 4.125 kB / 359.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.01756, allocations: 19.92 kB / 359.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.01759, allocations: 12 kB / 359.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008771/0.01847, allocations: 0.5949 MB / 360.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.02036, allocations: 1.347 MB / 361.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.02079, allocations: 153.2 kB / 362 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.02094, allocations: 80.31 kB / 362.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.02285, allocations: 0.84 MB / 362.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.02289, allocations: 37.39 kB / 362.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.0229, allocations: 4 kB / 362.9 MB, free: 9.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003687/0.02327, allocations: 121.4 kB / 363.1 MB, free: 9.324 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.02332, allocations: 51.41 kB / 363.1 MB, free: 9.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.02366, allocations: 310.4 kB / 363.4 MB, free: 8.941 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.02369, allocations: 25.7 kB / 363.4 MB, free: 8.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.02392, allocations: 274.2 kB / 363.7 MB, free: 8.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.02397, allocations: 43.69 kB / 363.8 MB, free: 8.594 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.0241, allocations: 91.75 kB / 363.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/0.02444, allocations: 0.5 MB / 364.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.02453, allocations: 48.97 kB / 364.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.0251, allocations: 483.9 kB / 364.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/0.02582, allocations: 0.5745 MB / 365.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.02583, allocations: 0 / 365.4 MB, free: 6.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006682/0.02649, allocations: 393.8 kB / 365.8 MB, free: 6.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.02652, allocations: 12 kB / 365.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.02655, allocations: 20.11 kB / 365.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.351e-05/0.02659, allocations: 12 kB / 365.9 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.02686, allocations: 91.84 kB / 366 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.224e-05/0.0269, allocations: 23.92 kB / 366 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.02716, allocations: 59.56 kB / 366 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/0.0272, allocations: 31.94 kB / 366.1 MB, free: 5.844 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.0001934/0.02739, allocations: 200.2 kB / 366.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.02746, allocations: 27.86 kB / 366.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.02781, allocations: 150.6 kB / 366.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.02782, allocations: 0 / 366.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.02783, allocations: 0 / 366.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.02783, allocations: 4 kB / 366.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.02873, allocations: 420.3 kB / 366.9 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.02874, allocations: 4.031 kB / 366.9 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.0288, allocations: 23.98 kB / 366.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.02881, allocations: 0 / 366.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.02882, allocations: 4 kB / 366.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.02883, allocations: 7.938 kB / 366.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02883, allocations: 0 / 366.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.02911, allocations: 258.8 kB / 367.1 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.02917, allocations: 23.89 kB / 367.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.02921, allocations: 7.953 kB / 367.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.02935, allocations: 3.938 kB / 367.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.02939, allocations: 11.98 kB / 367.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.02941, allocations: 8 kB / 367.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002177/0.02962, allocations: 201.1 kB / 367.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02962, allocations: 0 / 367.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000533/0.03016, allocations: 95.86 kB / 367.5 MB, free: 4.309 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.0003667/0.03052, allocations: 171 kB / 367.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000363/0.03089, allocations: 178.9 kB / 367.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03089, allocations: 0 / 367.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.777e-05/0.03095, allocations: 36.3 kB / 367.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.03141, allocations: 48.64 kB / 367.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.03266, allocations: 0.5367 MB / 368.4 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.03281, allocations: 112.6 kB / 368.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001777/0.03299, allocations: 54.91 kB / 368.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/0.03304, allocations: 24.5 kB / 368.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.03304, allocations: 0 / 368.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of Templates: time 0.008481/0.04152, allocations: 3.11 MB / 371.7 MB, free: 24 kB / 298.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",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: 5.3175093500176445]