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.001152/0.001152, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001013/0.001013, allocations: 165 kB / 23.8 MB, free: 0.7773 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 0.9001/0.9001, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1352/0.1352, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.162e-06/1.162e-06, allocations: 0 / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.565e-05, allocations: 9.344 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003596/0.003611, allocations: 4.642 MB / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.006194, allocations: 4.15 MB / 356.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.173e-05/0.006276, allocations: 4 kB / 356.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.006553, allocations: 51.66 kB / 356.6 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.007801, allocations: 0.8079 MB / 357.4 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.008006, allocations: 135.7 kB / 357.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.008385, allocations: 405.8 kB / 357.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.008425, allocations: 9.812 kB / 357.9 MB, free: 15.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.008596, allocations: 195.5 kB / 358.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.008763, allocations: 139.6 kB / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.008786, allocations: 8 kB / 358.2 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.009247, allocations: 403.2 kB / 358.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.009328, allocations: 59.73 kB / 358.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.009407, allocations: 75.78 kB / 358.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.009918, allocations: 470.6 kB / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.009921, allocations: 0 / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.009921, allocations: 0 / 359.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.009926, allocations: 0 / 359.2 MB, free: 13.85 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.0007873/0.01071, allocations: 0.6362 MB / 359.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.01075, allocations: 8.031 kB / 359.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.01088, allocations: 52.78 kB / 359.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.01108, allocations: 176.2 kB / 360.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.01119, allocations: 222.7 kB / 360.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.01122, allocations: 28.36 kB / 360.3 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.01163, allocations: 438.3 kB / 360.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01163, allocations: 192 / 360.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.01166, allocations: 15.94 kB / 360.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.01168, allocations: 15.98 kB / 360.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000563/0.01225, allocations: 0.5177 MB / 361.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.01323, allocations: 1.351 MB / 362.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.01347, allocations: 132.3 kB / 362.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.638e-05/0.01355, allocations: 72.23 kB / 362.9 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008227/0.01437, allocations: 0.8128 MB / 363.7 MB, free: 9.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.01439, allocations: 45.33 kB / 363.7 MB, free: 9.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.01439, allocations: 0 / 363.7 MB, free: 9.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002119/0.01461, allocations: 109.8 kB / 363.8 MB, free: 8.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/0.01476, allocations: 55.41 kB / 363.9 MB, free: 8.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.01491, allocations: 294.4 kB / 364.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.01492, allocations: 29.7 kB / 364.2 MB, free: 8.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.01502, allocations: 270.2 kB / 364.5 MB, free: 8.258 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.01504, allocations: 47.62 kB / 364.5 MB, free: 8.211 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.01511, allocations: 91.75 kB / 364.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.01522, allocations: 0.5 MB / 365.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.01527, allocations: 40.97 kB / 365.1 MB, free: 7.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01548, allocations: 471.8 kB / 365.6 MB, free: 6.898 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.0158, allocations: 0.555 MB / 366.1 MB, free: 6.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01581, allocations: 8 kB / 366.2 MB, free: 6.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003508/0.01616, allocations: 377.9 kB / 366.5 MB, free: 5.758 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01617, allocations: 16.06 kB / 366.5 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.01618, allocations: 19.91 kB / 366.6 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.01621, allocations: 16 kB / 366.6 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.01635, allocations: 95.78 kB / 366.7 MB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.01636, allocations: 23.92 kB / 366.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01649, allocations: 47.62 kB / 366.7 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.01652, allocations: 35.94 kB / 366.8 MB, free: 5.508 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 8.384e-05/0.0166, allocations: 188.3 kB / 367 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.01663, allocations: 31.84 kB / 367 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.01703, allocations: 146.3 kB / 367.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.01704, allocations: 4 kB / 367.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01704, allocations: 0 / 367.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01705, allocations: 0 / 367.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.01733, allocations: 424.2 kB / 367.6 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01733, allocations: 0 / 367.6 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.01736, allocations: 15.98 kB / 367.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01736, allocations: 0 / 367.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.01737, allocations: 4 kB / 367.6 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01737, allocations: 3.938 kB / 367.6 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01737, allocations: 0 / 367.6 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.01751, allocations: 262.8 kB / 367.8 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.01753, allocations: 19.89 kB / 367.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01755, allocations: 8.047 kB / 367.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.01762, allocations: 11.94 kB / 367.9 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.01764, allocations: 15.91 kB / 367.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.01765, allocations: 4 kB / 367.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.245e-05/0.01774, allocations: 193.1 kB / 368.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01774, allocations: 0 / 368.1 MB, free: 4.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.01803, allocations: 95.86 kB / 368.2 MB, free: 3.996 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.0001802/0.01821, allocations: 155 kB / 368.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.0184, allocations: 178.9 kB / 368.5 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01841, allocations: 0 / 368.5 MB, free: 3.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.01844, allocations: 32.23 kB / 368.5 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01871, allocations: 56.77 kB / 368.6 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.01964, allocations: 0.5327 MB / 369.1 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.46e-05/0.01968, allocations: 72.33 kB / 369.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.01979, allocations: 50.84 kB / 369.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.01983, allocations: 24.5 kB / 369.3 MB, free: 2.824 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01983, allocations: 0 / 369.3 MB, free: 2.824 MB / 298.7 MB Notification: Performance of Templates: time 0.004507/0.02434, allocations: 3.041 MB / 372.3 MB, free: 15.82 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.131431872025132]