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.001298/0.001298, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001451/0.001451, allocations: 218 kB / 25.13 MB, free: 3.609 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.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.055 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.2253/0.2253, allocations: 46.94 MB / 362.1 MB, free: 4.238 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.002378/0.002378, allocations: 83.86 kB / 0.4978 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3345, allocations: 66.07 MB / 0.5624 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.0368/0.3713, allocations: 26.9 MB / 0.5886 GB, free: 9.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004283/0.3756, allocations: 2.951 MB / 0.5915 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.3758, allocations: 8 kB / 0.5915 GB, free: 6.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.3761, allocations: 55.59 kB / 0.5916 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.3787, allocations: 0.7422 MB / 0.5923 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.3791, allocations: 142.6 kB / 0.5924 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007816/0.3799, allocations: 374.1 kB / 0.5928 GB, free: 4.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.3799, allocations: 5.812 kB / 0.5928 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04031/0.4202, allocations: 15.41 MB / 0.6078 GB, free: 5.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.4206, allocations: 155.4 kB / 0.608 GB, free: 5.289 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.4207, allocations: 8 kB / 0.608 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009341/0.43, allocations: 3.371 MB / 0.6113 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.4301, allocations: 43.83 kB / 0.6113 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.4303, allocations: 107.5 kB / 0.6114 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4313, allocations: 458.5 kB / 0.6119 GB, free: 1.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.4313, allocations: 4 kB / 0.6119 GB, free: 1.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4313, allocations: 0 / 0.6119 GB, free: 1.277 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4313, allocations: 0 / 0.6119 GB, free: 1.277 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.001173/0.4325, allocations: 0.5324 MB / 0.6124 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.4326, allocations: 12.03 kB / 0.6124 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.4327, allocations: 28.8 kB / 0.6124 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.433, allocations: 170.2 kB / 0.6126 GB, free: 496 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.4332, allocations: 226.7 kB / 0.6128 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.4332, allocations: 28.12 kB / 0.6128 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.4339, allocations: 489 kB / 0.6133 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4339, allocations: 0 / 0.6133 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.434, allocations: 15.94 kB / 0.6133 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.434, allocations: 8 kB / 0.6133 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.4349, allocations: 0.7586 MB / 0.6141 GB, free: 14.86 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.001508/0.4364, allocations: 1.272 MB / 0.6153 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003705/0.4368, allocations: 159.7 kB / 0.6155 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4369, allocations: 77.48 kB / 0.6155 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001582/0.4385, allocations: 0.7387 MB / 0.6163 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.4386, allocations: 34.56 kB / 0.6163 GB, free: 12.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.4386, allocations: 4 kB / 0.6163 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003075/0.4389, allocations: 117.4 kB / 0.6164 GB, free: 12.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4389, allocations: 59.34 kB / 0.6165 GB, free: 12.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.4392, allocations: 216.9 kB / 0.6167 GB, free: 12.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.4392, allocations: 33.7 kB / 0.6167 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4394, allocations: 223.4 kB / 0.6169 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.4394, allocations: 43.69 kB / 0.617 GB, free: 11.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4395, allocations: 86.03 kB / 0.617 GB, free: 11.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4397, allocations: 334.8 kB / 0.6174 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.4398, allocations: 44.84 kB / 0.6174 GB, free: 11.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.4401, allocations: 347.2 kB / 0.6177 GB, free: 10.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.4406, allocations: 440.6 kB / 0.6182 GB, free: 10.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.4406, allocations: 4 kB / 0.6182 GB, free: 10.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006812/0.4413, allocations: 385.2 kB / 0.6185 GB, free: 9.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.4414, allocations: 8 kB / 0.6185 GB, free: 9.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.4414, allocations: 12 kB / 0.6185 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.688e-05/0.4414, allocations: 16.66 kB / 0.6186 GB, free: 9.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.4417, allocations: 95.84 kB / 0.6187 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.4418, allocations: 27.86 kB / 0.6187 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.442, allocations: 55.62 kB / 0.6187 GB, free: 9.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/0.4421, allocations: 28 kB / 0.6188 GB, free: 9.551 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.0001963/0.4423, allocations: 149.6 kB / 0.6189 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.161e-05/0.4423, allocations: 23.86 kB / 0.6189 GB, free: 9.371 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.4427, allocations: 152.9 kB / 0.6191 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.4427, allocations: 0 / 0.6191 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4427, allocations: 0 / 0.6191 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4427, allocations: 3.984 kB / 0.6191 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006424/0.4434, allocations: 387.9 kB / 0.6194 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4434, allocations: 0 / 0.6194 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.4434, allocations: 12 kB / 0.6195 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.4435, allocations: 4 kB / 0.6195 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4435, allocations: 0 / 0.6195 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4435, allocations: 64 / 0.6195 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.4435, allocations: 8 kB / 0.6195 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.4438, allocations: 213.9 kB / 0.6197 GB, free: 8.512 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.4438, allocations: 19.89 kB / 0.6197 GB, free: 8.492 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.4439, allocations: 7.938 kB / 0.6197 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.444, allocations: 4 kB / 0.6197 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.4441, allocations: 15.86 kB / 0.6197 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4441, allocations: 7.984 kB / 0.6197 GB, free: 8.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4443, allocations: 156.5 kB / 0.6199 GB, free: 8.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4443, allocations: 4 kB / 0.6199 GB, free: 8.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006054/0.4449, allocations: 95.89 kB / 0.62 GB, free: 8.211 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.0003386/0.4452, allocations: 155 kB / 0.6201 GB, free: 8.051 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.4455, allocations: 169.2 kB / 0.6203 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4455, allocations: 0 / 0.6203 GB, free: 7.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.4456, allocations: 20 kB / 0.6203 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.446, allocations: 49.69 kB / 0.6203 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.447, allocations: 0.528 MB / 0.6209 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4474, allocations: 0.7285 MB / 0.6216 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.4475, allocations: 54.86 kB / 0.6216 GB, free: 6.441 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.4476, allocations: 27.44 kB / 0.6216 GB, free: 6.414 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4476, allocations: 0 / 0.6216 GB, free: 6.414 MB / 462.1 MB Notification: Performance of Templates: time 0.0081/0.4557, allocations: 3.356 MB / 0.6249 GB, free: 3.074 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/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-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.226386555004865]