Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2282/0.2282, allocations: 46.88 MB / 361.1 MB, free: 4.652 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 75.86 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3021, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03511/0.3372, allocations: 27.15 MB / 0.5877 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003624/0.3408, allocations: 2.975 MB / 0.5906 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.3409, allocations: 0 / 0.5906 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.3412, allocations: 55.59 kB / 0.5907 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.343, allocations: 0.7266 MB / 0.5914 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.3433, allocations: 139 kB / 0.5915 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005373/0.3439, allocations: 370.2 kB / 0.5919 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.3439, allocations: 9.688 kB / 0.5919 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03532/0.3792, allocations: 15.53 MB / 0.6071 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.3796, allocations: 143.5 kB / 0.6072 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.3797, allocations: 11.94 kB / 0.6072 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008066/0.3877, allocations: 3.459 MB / 0.6106 GB, free: 2.199 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.899e-05/0.3878, allocations: 39.88 kB / 0.6106 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.388, allocations: 111.5 kB / 0.6107 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.3889, allocations: 470.5 kB / 0.6112 GB, free: 1.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3889, allocations: 0 / 0.6112 GB, free: 1.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3889, allocations: 0 / 0.6112 GB, free: 1.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3889, allocations: 0 / 0.6112 GB, free: 1.59 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.001217/0.3901, allocations: 0.6078 MB / 0.6118 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3902, allocations: 8.031 kB / 0.6118 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3903, allocations: 28.8 kB / 0.6118 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3906, allocations: 232.1 kB / 0.612 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3908, allocations: 123.9 kB / 0.6122 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.3908, allocations: 27.75 kB / 0.6122 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.3913, allocations: 323.6 kB / 0.6125 GB, free: 120 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3914, allocations: 11.94 kB / 0.6125 GB, free: 108 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.3914, allocations: 8 kB / 0.6125 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.3914, allocations: 11.94 kB / 0.6125 GB, free: 88 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009078/0.3923, allocations: 0.7352 MB / 0.6132 GB, free: 15.35 MB / 462.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.001654/0.394, allocations: 1.308 MB / 0.6145 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.3943, allocations: 155.8 kB / 0.6147 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.3945, allocations: 81.48 kB / 0.6147 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002901/0.3974, allocations: 2.81 MB / 0.6175 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3974, allocations: 34.56 kB / 0.6175 GB, free: 10.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.3974, allocations: 0 / 0.6175 GB, free: 10.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002934/0.3977, allocations: 125.7 kB / 0.6176 GB, free: 10.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.3978, allocations: 55.41 kB / 0.6177 GB, free: 10.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.398, allocations: 227.5 kB / 0.6179 GB, free: 9.867 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.398, allocations: 25.7 kB / 0.6179 GB, free: 9.836 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3981, allocations: 231.3 kB / 0.6182 GB, free: 9.605 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.3982, allocations: 35.69 kB / 0.6182 GB, free: 9.57 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/0.3983, allocations: 86.03 kB / 0.6183 GB, free: 9.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3984, allocations: 330.8 kB / 0.6186 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.3985, allocations: 44.83 kB / 0.6186 GB, free: 9.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003279/0.3988, allocations: 347.2 kB / 0.619 GB, free: 8.617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.3993, allocations: 444.5 kB / 0.6194 GB, free: 8.035 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3993, allocations: 4 kB / 0.6194 GB, free: 8.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005857/0.3999, allocations: 381.5 kB / 0.6197 GB, free: 7.652 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3999, allocations: 14.12 kB / 0.6198 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3999, allocations: 12 kB / 0.6198 GB, free: 7.629 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.4, allocations: 20.02 kB / 0.6198 GB, free: 7.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.4002, allocations: 99.84 kB / 0.6199 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.4002, allocations: 19.92 kB / 0.6199 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.4005, allocations: 51.62 kB / 0.62 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.4005, allocations: 32.39 kB / 0.62 GB, free: 7.41 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.0001413/0.4006, allocations: 161.5 kB / 0.6201 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.507e-05/0.4007, allocations: 23.8 kB / 0.6202 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.401, allocations: 144.6 kB / 0.6203 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.401, allocations: 0 / 0.6203 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.401, allocations: 0 / 0.6203 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.401, allocations: 4.094 kB / 0.6203 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.4015, allocations: 408.8 kB / 0.6207 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.4015, allocations: 4 kB / 0.6207 GB, free: 6.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.4016, allocations: 12.03 kB / 0.6207 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4016, allocations: 8 kB / 0.6207 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.4016, allocations: 0 / 0.6207 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4016, allocations: 4 kB / 0.6207 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4016, allocations: 0 / 0.6207 GB, free: 6.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.4018, allocations: 209.9 kB / 0.6209 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.4019, allocations: 101 kB / 0.621 GB, free: 6.219 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.4019, allocations: 11.98 kB / 0.621 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.4021, allocations: 0 / 0.621 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.4021, allocations: 7.984 kB / 0.621 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.4021, allocations: 11.94 kB / 0.621 GB, free: 6.188 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.4023, allocations: 152.5 kB / 0.6212 GB, free: 6.039 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 0.6212 GB, free: 6.039 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.4028, allocations: 103.8 kB / 0.6213 GB, free: 5.938 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.0002639/0.403, allocations: 167 kB / 0.6215 GB, free: 5.766 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.4033, allocations: 162.2 kB / 0.6216 GB, free: 5.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4033, allocations: 0 / 0.6216 GB, free: 5.609 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.987e-05/0.4034, allocations: 19.94 kB / 0.6216 GB, free: 5.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.4038, allocations: 40.39 kB / 0.6217 GB, free: 5.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009766/0.4048, allocations: 0.5424 MB / 0.6222 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.4052, allocations: 0.7285 MB / 0.6229 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.4054, allocations: 62.78 kB / 0.623 GB, free: 4.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.4054, allocations: 27.44 kB / 0.623 GB, free: 4.125 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4054, allocations: 0 / 0.623 GB, free: 4.125 MB / 462.1 MB Notification: Performance of Templates: time 0.007323/0.4127, allocations: 3.263 MB / 0.6262 GB, free: 0.8789 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.127361379098147]