Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001751/0.001751, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.002174/0.002174, allocations: 215.5 kB / 24.48 MB, free: 3.957 MB / 14.72 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.447/1.447, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.LinearWater_pT_Ambient,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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 71.91 kB / 0.4974 GB, free: 7.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3487, allocations: 66.02 MB / 0.5619 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03302/0.3817, allocations: 24.15 MB / 0.5854 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003574/0.3853, allocations: 2.667 MB / 0.588 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3854, allocations: 4 kB / 0.588 GB, free: 9.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.3857, allocations: 51.61 kB / 0.5881 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.3879, allocations: 0.7461 MB / 0.5888 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.3883, allocations: 142.6 kB / 0.589 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.3889, allocations: 378.1 kB / 0.5893 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.3889, allocations: 9.797 kB / 0.5893 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04206/0.431, allocations: 15.34 MB / 0.6043 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.4315, allocations: 155.4 kB / 0.6045 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.4315, allocations: 8 kB / 0.6045 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0096/0.4411, allocations: 3.383 MB / 0.6078 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4412, allocations: 39.83 kB / 0.6078 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.4414, allocations: 95.58 kB / 0.6079 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.4424, allocations: 462.5 kB / 0.6083 GB, free: 4.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4424, allocations: 4 kB / 0.6083 GB, free: 4.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4424, allocations: 0 / 0.6083 GB, free: 4.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.4425, allocations: 0 / 0.6083 GB, free: 4.301 MB / 446.1 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.001288/0.4437, allocations: 0.5246 MB / 0.6089 GB, free: 3.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4438, allocations: 8.031 kB / 0.6089 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.444, allocations: 32.78 kB / 0.6089 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.4444, allocations: 178.2 kB / 0.6091 GB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.4446, allocations: 226.7 kB / 0.6093 GB, free: 3.238 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.4447, allocations: 24.12 kB / 0.6093 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.4454, allocations: 493 kB / 0.6098 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4454, allocations: 4 kB / 0.6098 GB, free: 2.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.4454, allocations: 12 kB / 0.6098 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.4454, allocations: 11.98 kB / 0.6098 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009174/0.4463, allocations: 0.7079 MB / 0.6105 GB, free: 1.934 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.4479, allocations: 1.046 MB / 0.6115 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/0.4483, allocations: 147.8 kB / 0.6117 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.4484, allocations: 73.48 kB / 0.6117 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/0.4502, allocations: 0.7231 MB / 0.6124 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.4502, allocations: 38.5 kB / 0.6125 GB, free: 15.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.4502, allocations: 3.938 kB / 0.6125 GB, free: 15.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003293/0.4505, allocations: 117.5 kB / 0.6126 GB, free: 15.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4506, allocations: 59.34 kB / 0.6126 GB, free: 15.62 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.4509, allocations: 238.6 kB / 0.6129 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.4509, allocations: 29.7 kB / 0.6129 GB, free: 15.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.4511, allocations: 223.5 kB / 0.6131 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.4511, allocations: 47.62 kB / 0.6131 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.4512, allocations: 90.02 kB / 0.6132 GB, free: 14.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4514, allocations: 334.8 kB / 0.6136 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.561e-05/0.4515, allocations: 44.84 kB / 0.6136 GB, free: 14.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.4519, allocations: 351.2 kB / 0.6139 GB, free: 14.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.4524, allocations: 444.6 kB / 0.6144 GB, free: 13.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4524, allocations: 8 kB / 0.6144 GB, free: 13.51 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006128/0.453, allocations: 377.9 kB / 0.6147 GB, free: 13.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4531, allocations: 8 kB / 0.6147 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.4531, allocations: 12 kB / 0.6147 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.4531, allocations: 16 kB / 0.6148 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.4534, allocations: 99.77 kB / 0.6149 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.4534, allocations: 23.86 kB / 0.6149 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.4537, allocations: 55.62 kB / 0.6149 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.4537, allocations: 31.98 kB / 0.615 GB, free: 12.89 MB / 462.1 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.0001583/0.4539, allocations: 149.6 kB / 0.6151 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.4539, allocations: 19.86 kB / 0.6151 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4542, allocations: 148.9 kB / 0.6153 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.4542, allocations: 11.92 kB / 0.6153 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4542, allocations: 0 / 0.6153 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4542, allocations: 0 / 0.6153 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.4548, allocations: 352.6 kB / 0.6156 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4548, allocations: 4 kB / 0.6156 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.4549, allocations: 11.94 kB / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4549, allocations: 4 kB / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.4549, allocations: 0 / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4549, allocations: 4 kB / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4549, allocations: 0 / 0.6156 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.4551, allocations: 206 kB / 0.6158 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.4552, allocations: 31.72 kB / 0.6159 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.4552, allocations: 8.094 kB / 0.6159 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.4554, allocations: 4 kB / 0.6159 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.4554, allocations: 7.984 kB / 0.6159 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.4554, allocations: 12.06 kB / 0.6159 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.4556, allocations: 156.4 kB / 0.616 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4556, allocations: 0 / 0.616 GB, free: 11.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005174/0.4561, allocations: 91.88 kB / 0.6161 GB, free: 11.61 MB / 462.1 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.0003045/0.4564, allocations: 163.1 kB / 0.6163 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.4567, allocations: 157.7 kB / 0.6164 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.4567, allocations: 0 / 0.6164 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.4568, allocations: 24.69 kB / 0.6165 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.4572, allocations: 52.5 kB / 0.6165 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4583, allocations: 0.5609 MB / 0.6171 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.4584, allocations: 120.5 kB / 0.6172 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.4585, allocations: 31.44 kB / 0.6172 GB, free: 10.45 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4585, allocations: 0 / 0.6172 GB, free: 10.45 MB / 462.1 MB Notification: Performance of Templates: time 0.006786/0.4652, allocations: 3.474 MB / 0.6206 GB, free: 6.98 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.03672036898206]