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.001/0.001, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.0009997/0.0009997, allocations: 173 kB / 24.05 MB, free: 456 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.9598/0.9598, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1507/0.1507, allocations: 32.37 MB / 270.7 MB, free: 14.55 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 1.553e-06/1.553e-06, allocations: 0 / 348.2 MB, free: 9.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.551e-05, allocations: 4.281 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004089/0.004115, allocations: 4.622 MB / 352.8 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.006553, allocations: 4.115 MB / 356.9 MB, free: 376 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.00666, allocations: 0 / 356.9 MB, free: 376 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.006917, allocations: 59.56 kB / 357 MB, free: 316 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.008448, allocations: 0.8118 MB / 357.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.008675, allocations: 135.8 kB / 357.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003825/0.009058, allocations: 401.9 kB / 358.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.772e-05/0.009096, allocations: 13.8 kB / 358.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.009277, allocations: 195.5 kB / 358.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.009446, allocations: 131.7 kB / 358.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.009471, allocations: 12 kB / 358.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.01011, allocations: 411.2 kB / 359 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.01017, allocations: 43.81 kB / 359.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.288e-05/0.01023, allocations: 83.77 kB / 359.2 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.01073, allocations: 470.5 kB / 359.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01073, allocations: 0 / 359.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01073, allocations: 0 / 359.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.01073, allocations: 0 / 359.6 MB, free: 13.63 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.0007133/0.01145, allocations: 0.6362 MB / 360.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01148, allocations: 8.031 kB / 360.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.01161, allocations: 48.78 kB / 360.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.0118, allocations: 168.3 kB / 360.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.0119, allocations: 226.7 kB / 360.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.01192, allocations: 28.38 kB / 360.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.01223, allocations: 422.2 kB / 361.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.01224, allocations: 192 / 361.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.01226, allocations: 19.92 kB / 361.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.01228, allocations: 8 kB / 361.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.01258, allocations: 470.5 kB / 361.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.01338, allocations: 1.316 MB / 362.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.01357, allocations: 128.2 kB / 363.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.235e-05/0.01362, allocations: 60.3 kB / 363.1 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/0.01446, allocations: 0.8436 MB / 364 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.01448, allocations: 37.39 kB / 364 MB, free: 8.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.01448, allocations: 0 / 364 MB, free: 8.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001779/0.01466, allocations: 109.5 kB / 364.1 MB, free: 8.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.01469, allocations: 59.39 kB / 364.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.01484, allocations: 294.3 kB / 364.5 MB, free: 8.461 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.01485, allocations: 33.64 kB / 364.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01495, allocations: 274.1 kB / 364.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.01498, allocations: 47.67 kB / 364.8 MB, free: 8.102 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.01504, allocations: 91.72 kB / 364.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01516, allocations: 0.5 MB / 365.4 MB, free: 7.492 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/0.01519, allocations: 28.97 kB / 365.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.01542, allocations: 471.8 kB / 365.9 MB, free: 6.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.01572, allocations: 0.5511 MB / 366.4 MB, free: 6.051 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.01572, allocations: 4 kB / 366.4 MB, free: 6.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003076/0.01603, allocations: 368.9 kB / 366.8 MB, free: 5.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.01605, allocations: 12.94 kB / 366.8 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.01606, allocations: 8 kB / 366.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01608, allocations: 16 kB / 366.8 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.01621, allocations: 99.83 kB / 366.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.01622, allocations: 19.94 kB / 367 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.01634, allocations: 51.62 kB / 367 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.01636, allocations: 27.98 kB / 367 MB, free: 5.449 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.0001026/0.01647, allocations: 204.2 kB / 367.2 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.0165, allocations: 23.86 kB / 367.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.01669, allocations: 134.3 kB / 367.4 MB, free: 5.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.0167, allocations: 4 kB / 367.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.0167, allocations: 0 / 367.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.0167, allocations: 3.984 kB / 367.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01696, allocations: 376.8 kB / 367.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01696, allocations: 0 / 367.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.01699, allocations: 16.09 kB / 367.8 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.017, allocations: 7.938 kB / 367.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.017, allocations: 0 / 367.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.017, allocations: 3.984 kB / 367.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.01701, allocations: 4 kB / 367.8 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.01713, allocations: 262.8 kB / 368 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.01716, allocations: 19.89 kB / 368.1 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.01718, allocations: 7.891 kB / 368.1 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.01725, allocations: 8 kB / 368.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/0.01727, allocations: 11.92 kB / 368.1 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.01727, allocations: 8 kB / 368.1 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.01734, allocations: 193 kB / 368.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01734, allocations: 0 / 368.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.01764, allocations: 91.94 kB / 368.4 MB, free: 3.992 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.0002044/0.01784, allocations: 163 kB / 368.5 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.01801, allocations: 162 kB / 368.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01801, allocations: 0 / 368.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.177e-05/0.01804, allocations: 33.3 kB / 368.7 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.01829, allocations: 52.64 kB / 368.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.01916, allocations: 0.5288 MB / 369.3 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.403e-05/0.0192, allocations: 72.33 kB / 369.4 MB, free: 2.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.01932, allocations: 46.94 kB / 369.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.01942, allocations: 126.2 kB / 369.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01943, allocations: 0 / 369.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of Templates: time 0.004947/0.02437, allocations: 3.438 MB / 373 MB, free: 15.34 MB / 314.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","",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.124218177050352]