Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001094/0.001094, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001083/0.001083, allocations: 169 kB / 24.82 MB, free: 9.266 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 1.153/1.153, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3047/0.3047, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.672e-05/1.872e-05, allocations: 9.062 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004487/0.004506, allocations: 4.7 MB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003175/0.007681, allocations: 4.099 MB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.007786, allocations: 0 / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.008062, allocations: 59.61 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.009684, allocations: 0.8079 MB / 386.2 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.009934, allocations: 147.6 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.01035, allocations: 397.9 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.0104, allocations: 9.812 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.01058, allocations: 199.5 kB / 386.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.01075, allocations: 143.6 kB / 387.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.01077, allocations: 8 kB / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.01139, allocations: 399.3 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.01146, allocations: 43.77 kB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.01153, allocations: 91.75 kB / 387.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.01212, allocations: 462.6 kB / 388 MB, free: 8.805 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.01212, allocations: 0 / 388 MB, free: 8.805 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01212, allocations: 0 / 388 MB, free: 8.805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.01213, allocations: 4 kB / 388 MB, free: 8.801 MB / 362.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.0008278/0.01295, allocations: 0.6322 MB / 388.7 MB, free: 8.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.01299, allocations: 12.02 kB / 388.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.01314, allocations: 48.78 kB / 388.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.01334, allocations: 172.3 kB / 388.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.01345, allocations: 230.7 kB / 389.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.01348, allocations: 20.38 kB / 389.1 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.01383, allocations: 426.2 kB / 389.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01384, allocations: 192 / 389.6 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01387, allocations: 15.94 kB / 389.6 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.01389, allocations: 4 kB / 389.6 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.01422, allocations: 466.6 kB / 390 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/0.0152, allocations: 1.32 MB / 391.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.0154, allocations: 132.2 kB / 391.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/0.01546, allocations: 56.31 kB / 391.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009/0.01636, allocations: 0.8475 MB / 392.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.01639, allocations: 33.39 kB / 392.4 MB, free: 4.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.01639, allocations: 0 / 392.4 MB, free: 4.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001897/0.01658, allocations: 113.5 kB / 392.5 MB, free: 4.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.01661, allocations: 55.41 kB / 392.6 MB, free: 3.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.01676, allocations: 290.3 kB / 392.9 MB, free: 3.641 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.01677, allocations: 29.7 kB / 392.9 MB, free: 3.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01689, allocations: 274.1 kB / 393.2 MB, free: 3.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.01692, allocations: 47.67 kB / 393.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.747e-05/0.01699, allocations: 91.72 kB / 393.3 MB, free: 3.188 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01712, allocations: 0.5 MB / 393.8 MB, free: 2.676 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.01715, allocations: 28.97 kB / 393.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002935/0.01745, allocations: 471.8 kB / 394.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.0179, allocations: 0.555 MB / 394.8 MB, free: 1.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01791, allocations: 4 kB / 394.8 MB, free: 1.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003535/0.01826, allocations: 361 kB / 395.2 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.01828, allocations: 11.94 kB / 395.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.01829, allocations: 12.88 kB / 395.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.01831, allocations: 12 kB / 395.2 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.01845, allocations: 107.8 kB / 395.3 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.01846, allocations: 19.92 kB / 395.4 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.0186, allocations: 51.62 kB / 395.4 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.01862, allocations: 24 kB / 395.4 MB, free: 0.6289 MB / 362.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.0001126/0.01873, allocations: 200.2 kB / 395.6 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.01878, allocations: 23.86 kB / 395.7 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.01897, allocations: 150.2 kB / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.01898, allocations: 0 / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01898, allocations: 0 / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01899, allocations: 0 / 395.8 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.01931, allocations: 380.9 kB / 396.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.01931, allocations: 0 / 396.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.01934, allocations: 15.98 kB / 396.2 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01934, allocations: 4.094 kB / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.01935, allocations: 3.984 kB / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.01935, allocations: 4 kB / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01936, allocations: 0 / 396.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.01952, allocations: 258.7 kB / 396.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.01955, allocations: 27.86 kB / 396.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.01957, allocations: 7.953 kB / 396.5 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.01964, allocations: 4 kB / 396.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.01966, allocations: 15.86 kB / 396.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01967, allocations: 4 kB / 396.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.13e-05/0.01976, allocations: 193.1 kB / 396.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01976, allocations: 0 / 396.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003385/0.0201, allocations: 99.84 kB / 396.8 MB, free: 15.17 MB / 378.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.0001947/0.02029, allocations: 155.1 kB / 396.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.02049, allocations: 166.3 kB / 397.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02049, allocations: 0 / 397.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.02052, allocations: 31.55 kB / 397.1 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.02079, allocations: 50.02 kB / 397.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.02169, allocations: 0.5336 MB / 397.7 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.02174, allocations: 72.33 kB / 397.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.02186, allocations: 50.92 kB / 397.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.02198, allocations: 126.2 kB / 398 MB, free: 13.92 MB / 378.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02198, allocations: 0 / 398 MB, free: 13.92 MB / 378.7 MB Notification: Performance of Templates: time 0.005272/0.02726, allocations: 3.436 MB / 401.4 MB, free: 10.52 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4053246872499585]