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.001255/0.001255, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001386/0.001386, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.492/1.492, allocations: 230.3 MB / 258 MB, free: 8.242 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.2359/0.2359, allocations: 46.94 MB / 361.4 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 179] 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.002403/0.002403, allocations: 83.84 kB / 0.4972 GB, free: 7.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3142, allocations: 66.03 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03489/0.349, allocations: 27.16 MB / 0.5882 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003902/0.3529, allocations: 2.975 MB / 0.5911 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3531, allocations: 0 / 0.5911 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.3534, allocations: 55.59 kB / 0.5912 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.3555, allocations: 0.7422 MB / 0.5919 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.3559, allocations: 138.9 kB / 0.592 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006902/0.3565, allocations: 378.1 kB / 0.5924 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.791e-05/0.3566, allocations: 5.812 kB / 0.5924 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03744/0.394, allocations: 15.41 MB / 0.6074 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.3946, allocations: 159.3 kB / 0.6076 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.3946, allocations: 12 kB / 0.6076 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008762/0.4034, allocations: 3.414 MB / 0.6109 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4035, allocations: 51.81 kB / 0.611 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.4037, allocations: 111.5 kB / 0.6111 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000942/0.4046, allocations: 470.5 kB / 0.6115 GB, free: 1.199 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.4046, allocations: 0 / 0.6115 GB, free: 1.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4046, allocations: 0 / 0.6115 GB, free: 1.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4046, allocations: 0 / 0.6115 GB, free: 1.199 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.001232/0.4059, allocations: 0.5324 MB / 0.6121 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4059, allocations: 8.031 kB / 0.6121 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.4061, allocations: 28.8 kB / 0.6121 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.4064, allocations: 170.2 kB / 0.6123 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/0.4065, allocations: 123.9 kB / 0.6124 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.4065, allocations: 24.12 kB / 0.6124 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.4071, allocations: 342.8 kB / 0.6127 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4071, allocations: 0 / 0.6127 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.4072, allocations: 15.94 kB / 0.6127 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.4072, allocations: 4 kB / 0.6127 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.4081, allocations: 0.7547 MB / 0.6135 GB, free: 15.11 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.001534/0.4096, allocations: 1.288 MB / 0.6147 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.41, allocations: 159.7 kB / 0.6149 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4101, allocations: 73.48 kB / 0.615 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.4117, allocations: 0.7426 MB / 0.6157 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4117, allocations: 34.56 kB / 0.6157 GB, free: 12.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.4117, allocations: 0 / 0.6157 GB, free: 12.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003256/0.412, allocations: 121.5 kB / 0.6158 GB, free: 12.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.4121, allocations: 55.34 kB / 0.6159 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4123, allocations: 220.9 kB / 0.6161 GB, free: 12.24 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4123, allocations: 29.7 kB / 0.6161 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.4125, allocations: 223.4 kB / 0.6163 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.4125, allocations: 43.67 kB / 0.6164 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.4126, allocations: 94.03 kB / 0.6165 GB, free: 11.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4128, allocations: 326.8 kB / 0.6168 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.4129, allocations: 52.77 kB / 0.6168 GB, free: 11.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.4133, allocations: 339.2 kB / 0.6172 GB, free: 10.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.4138, allocations: 444.6 kB / 0.6176 GB, free: 10.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4138, allocations: 0 / 0.6176 GB, free: 10.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005962/0.4144, allocations: 381.9 kB / 0.6179 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4144, allocations: 8 kB / 0.618 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4144, allocations: 12 kB / 0.618 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.4144, allocations: 20 kB / 0.618 GB, free: 9.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.4147, allocations: 103.8 kB / 0.6181 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-05/0.4147, allocations: 19.92 kB / 0.6181 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.415, allocations: 55.62 kB / 0.6182 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.415, allocations: 28 kB / 0.6182 GB, free: 9.781 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.0001421/0.4151, allocations: 149.6 kB / 0.6183 GB, free: 9.625 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.4152, allocations: 23.84 kB / 0.6183 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.4155, allocations: 144.9 kB / 0.6185 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4155, allocations: 0 / 0.6185 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4155, allocations: 0 / 0.6185 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4155, allocations: 4 kB / 0.6185 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.416, allocations: 387.9 kB / 0.6189 GB, free: 9.008 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.416, allocations: 4 kB / 0.6189 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.4161, allocations: 8 kB / 0.6189 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4161, allocations: 4 kB / 0.6189 GB, free: 8.992 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.4161, allocations: 4.094 kB / 0.6189 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4161, allocations: 8 kB / 0.6189 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4161, allocations: 4 kB / 0.6189 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.4163, allocations: 209.9 kB / 0.6191 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.4164, allocations: 15.91 kB / 0.6191 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.4164, allocations: 11.92 kB / 0.6191 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4166, allocations: 8 kB / 0.6191 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.4166, allocations: 15.86 kB / 0.6191 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4166, allocations: 4 kB / 0.6191 GB, free: 8.691 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001468/0.4168, allocations: 156.5 kB / 0.6193 GB, free: 8.543 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4168, allocations: 0 / 0.6193 GB, free: 8.543 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.4172, allocations: 91.89 kB / 0.6194 GB, free: 8.453 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.0002963/0.4175, allocations: 159 kB / 0.6195 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.4179, allocations: 178.1 kB / 0.6197 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4179, allocations: 0 / 0.6197 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.4179, allocations: 15.94 kB / 0.6197 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.4183, allocations: 48.77 kB / 0.6198 GB, free: 8.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.4194, allocations: 0.5358 MB / 0.6203 GB, free: 7.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.4198, allocations: 0.7206 MB / 0.621 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.42, allocations: 62.92 kB / 0.6211 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.4201, allocations: 23.44 kB / 0.6211 GB, free: 6.645 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4201, allocations: 0 / 0.6211 GB, free: 6.645 MB / 462.1 MB Notification: Performance of Templates: time 0.007896/0.428, allocations: 3.36 MB / 0.6244 GB, free: 3.305 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.307784488424659]