Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001431/0.001431, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002238/0.002238, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.682/1.682, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2564/0.2564, allocations: 44.94 MB / 358.8 MB, free: 6.039 MB / 286.1 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 71.89 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3725, allocations: 65.47 MB / 0.5575 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03354/0.406, allocations: 24.16 MB / 0.5811 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.4097, allocations: 2.671 MB / 0.5837 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.4098, allocations: 0 / 0.5837 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.4102, allocations: 55.66 kB / 0.5837 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.4122, allocations: 0.7383 MB / 0.5845 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.4125, allocations: 143.2 kB / 0.5846 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.4131, allocations: 378.1 kB / 0.585 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.4131, allocations: 9.797 kB / 0.585 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03567/0.4488, allocations: 15.34 MB / 0.5999 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.4492, allocations: 147.5 kB / 0.6001 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.4493, allocations: 8 kB / 0.6001 GB, free: 11.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007676/0.4569, allocations: 3.367 MB / 0.6034 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.81e-05/0.457, allocations: 43.77 kB / 0.6034 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4572, allocations: 99.58 kB / 0.6035 GB, free: 8.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008473/0.458, allocations: 462.5 kB / 0.604 GB, free: 7.613 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.458, allocations: 3.984 kB / 0.604 GB, free: 7.609 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.458, allocations: 0 / 0.604 GB, free: 7.609 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.458, allocations: 0 / 0.604 GB, free: 7.609 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.001147/0.4592, allocations: 0.5324 MB / 0.6045 GB, free: 7.047 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4592, allocations: 8.031 kB / 0.6045 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.4594, allocations: 28.8 kB / 0.6045 GB, free: 7.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4597, allocations: 170.2 kB / 0.6047 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.4599, allocations: 226.7 kB / 0.6049 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4599, allocations: 24.12 kB / 0.6049 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.4605, allocations: 489 kB / 0.6054 GB, free: 5.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4606, allocations: 4 kB / 0.6054 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.4606, allocations: 12 kB / 0.6054 GB, free: 5.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4606, allocations: 7.984 kB / 0.6054 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.4614, allocations: 0.7195 MB / 0.6061 GB, free: 5.242 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.001333/0.4628, allocations: 1.042 MB / 0.6071 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.4631, allocations: 147.8 kB / 0.6073 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.4633, allocations: 81.42 kB / 0.6073 GB, free: 3.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.4648, allocations: 0.7231 MB / 0.6081 GB, free: 3.168 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4649, allocations: 38.56 kB / 0.6081 GB, free: 3.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4649, allocations: 0 / 0.6081 GB, free: 3.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003026/0.4652, allocations: 113.4 kB / 0.6082 GB, free: 3.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4652, allocations: 63.34 kB / 0.6083 GB, free: 2.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.4654, allocations: 238.6 kB / 0.6085 GB, free: 2.688 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.4655, allocations: 25.7 kB / 0.6085 GB, free: 2.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.4656, allocations: 227.4 kB / 0.6087 GB, free: 2.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.4657, allocations: 47.62 kB / 0.6088 GB, free: 2.383 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4658, allocations: 86.03 kB / 0.6089 GB, free: 2.293 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4659, allocations: 334.8 kB / 0.6092 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.466, allocations: 44.84 kB / 0.6092 GB, free: 1.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.4663, allocations: 343.2 kB / 0.6095 GB, free: 1.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.4668, allocations: 444.6 kB / 0.61 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4668, allocations: 4 kB / 0.61 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005678/0.4674, allocations: 389.8 kB / 0.6103 GB, free: 472 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4674, allocations: 8 kB / 0.6104 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4674, allocations: 12 kB / 0.6104 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.4675, allocations: 12 kB / 0.6104 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.4677, allocations: 103.8 kB / 0.6105 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.4677, allocations: 19.88 kB / 0.6105 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.468, allocations: 55.62 kB / 0.6105 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.468, allocations: 31.98 kB / 0.6106 GB, free: 228 kB / 446.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.0001355/0.4681, allocations: 153.5 kB / 0.6107 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.4682, allocations: 19.86 kB / 0.6107 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.4685, allocations: 141.2 kB / 0.6109 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4685, allocations: 11.92 kB / 0.6109 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4685, allocations: 3.984 kB / 0.6109 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4685, allocations: 3.984 kB / 0.6109 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/0.469, allocations: 352.6 kB / 0.6112 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.469, allocations: 0 / 0.6112 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.469, allocations: 15.94 kB / 0.6112 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.469, allocations: 4 kB / 0.6113 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.469, allocations: 0 / 0.6113 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.469, allocations: 3.938 kB / 0.6113 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.469, allocations: 4 kB / 0.6113 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.4692, allocations: 209.9 kB / 0.6115 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.4693, allocations: 20.02 kB / 0.6115 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.4693, allocations: 8.094 kB / 0.6115 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.4695, allocations: 7.938 kB / 0.6115 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.4695, allocations: 11.98 kB / 0.6115 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.4695, allocations: 4 kB / 0.6115 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.4696, allocations: 156.5 kB / 0.6117 GB, free: 15.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4696, allocations: 0 / 0.6117 GB, free: 15.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005008/0.4701, allocations: 91.83 kB / 0.6117 GB, free: 14.94 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.0002986/0.4704, allocations: 159 kB / 0.6119 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.4708, allocations: 169.5 kB / 0.6121 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.4708, allocations: 7.938 kB / 0.6121 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.4708, allocations: 20.75 kB / 0.6121 GB, free: 14.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.4713, allocations: 56.7 kB / 0.6121 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4723, allocations: 0.528 MB / 0.6127 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4724, allocations: 120.6 kB / 0.6128 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4726, allocations: 54.86 kB / 0.6128 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.4726, allocations: 23.44 kB / 0.6128 GB, free: 13.75 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4726, allocations: 0 / 0.6128 GB, free: 13.75 MB / 462.1 MB Notification: Performance of Templates: time 0.007488/0.4801, allocations: 3.418 MB / 0.6162 GB, free: 10.39 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.7405470330268145]