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.005562/0.005562, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.00141/0.00141, allocations: 216.4 kB / 25.29 MB, free: 3.203 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.414/1.414, allocations: 230.5 MB / 258.9 MB, free: 8.02 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.2229/0.2229, allocations: 46.94 MB / 362.3 MB, free: 4.16 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.002734/0.002734, allocations: 83.84 kB / 0.4982 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3768, allocations: 66.08 MB / 0.5628 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03528/0.4121, allocations: 27.16 MB / 0.5893 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.4158, allocations: 2.983 MB / 0.5922 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.4159, allocations: 0 / 0.5922 GB, free: 5.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.4162, allocations: 47.67 kB / 0.5922 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.418, allocations: 0.75 MB / 0.593 GB, free: 5.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.4184, allocations: 131 kB / 0.5931 GB, free: 5.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005625/0.4189, allocations: 378.1 kB / 0.5935 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.419, allocations: 9.812 kB / 0.5935 GB, free: 4.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03495/0.4539, allocations: 15.41 MB / 0.6085 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.4543, allocations: 151.4 kB / 0.6087 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.4544, allocations: 12 kB / 0.6087 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00778/0.4621, allocations: 3.418 MB / 0.612 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.4623, allocations: 47.81 kB / 0.6121 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.4624, allocations: 111.5 kB / 0.6122 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009117/0.4633, allocations: 470.5 kB / 0.6126 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4633, allocations: 4 kB / 0.6126 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4633, allocations: 0 / 0.6126 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4633, allocations: 0 / 0.6126 GB, free: 0.9258 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.001165/0.4645, allocations: 0.5324 MB / 0.6131 GB, free: 372 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4646, allocations: 12.02 kB / 0.6131 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.4647, allocations: 28.8 kB / 0.6132 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.465, allocations: 162.2 kB / 0.6133 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.4652, allocations: 127.9 kB / 0.6135 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.4652, allocations: 28.11 kB / 0.6135 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.4657, allocations: 342.7 kB / 0.6138 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4658, allocations: 0 / 0.6138 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.4658, allocations: 15.94 kB / 0.6138 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.4658, allocations: 8 kB / 0.6138 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000884/0.4667, allocations: 0.7547 MB / 0.6146 GB, free: 14.82 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.001525/0.4682, allocations: 1.276 MB / 0.6158 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4686, allocations: 163.6 kB / 0.616 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.4687, allocations: 77.48 kB / 0.616 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/0.4703, allocations: 0.731 MB / 0.6168 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4703, allocations: 34.56 kB / 0.6168 GB, free: 12.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.4703, allocations: 0 / 0.6168 GB, free: 12.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003308/0.4706, allocations: 117.5 kB / 0.6169 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.4707, allocations: 59.28 kB / 0.617 GB, free: 12.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4709, allocations: 220.9 kB / 0.6172 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4709, allocations: 37.67 kB / 0.6172 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.4711, allocations: 223.4 kB / 0.6174 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.4711, allocations: 43.67 kB / 0.6175 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.4712, allocations: 94.03 kB / 0.6175 GB, free: 11.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4714, allocations: 326.8 kB / 0.6179 GB, free: 11.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.4715, allocations: 44.84 kB / 0.6179 GB, free: 11.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.4718, allocations: 339.2 kB / 0.6182 GB, free: 10.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.4723, allocations: 452.6 kB / 0.6187 GB, free: 10.13 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.4724, allocations: 4 kB / 0.6187 GB, free: 10.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006119/0.473, allocations: 381.9 kB / 0.619 GB, free: 9.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.473, allocations: 8 kB / 0.619 GB, free: 9.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.473, allocations: 12 kB / 0.619 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.571e-05/0.473, allocations: 19.97 kB / 0.6191 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.4733, allocations: 103.8 kB / 0.6192 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.4733, allocations: 19.92 kB / 0.6192 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.4736, allocations: 55.62 kB / 0.6192 GB, free: 9.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.4736, allocations: 28 kB / 0.6193 GB, free: 9.504 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.0001356/0.4737, allocations: 149.6 kB / 0.6194 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.4738, allocations: 19.86 kB / 0.6194 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.4741, allocations: 148.9 kB / 0.6196 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4741, allocations: 0 / 0.6196 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4741, allocations: 4 kB / 0.6196 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.4741, allocations: 0 / 0.6196 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.4746, allocations: 383.9 kB / 0.6199 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4746, allocations: 4 kB / 0.6199 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.4747, allocations: 15.98 kB / 0.62 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4747, allocations: 0 / 0.62 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.4747, allocations: 4 kB / 0.62 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4747, allocations: 4 kB / 0.62 GB, free: 8.707 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4747, allocations: 3.938 kB / 0.62 GB, free: 8.703 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.4749, allocations: 214 kB / 0.6202 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.4749, allocations: 15.91 kB / 0.6202 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.475, allocations: 7.938 kB / 0.6202 GB, free: 8.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4751, allocations: 11.98 kB / 0.6202 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.4752, allocations: 7.922 kB / 0.6202 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.4752, allocations: 8 kB / 0.6202 GB, free: 8.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.4753, allocations: 156.5 kB / 0.6204 GB, free: 8.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4753, allocations: 0 / 0.6204 GB, free: 8.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004891/0.4758, allocations: 91.89 kB / 0.6205 GB, free: 8.18 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.0002819/0.4761, allocations: 155.1 kB / 0.6206 GB, free: 8.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.4764, allocations: 174.2 kB / 0.6208 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4764, allocations: 0 / 0.6208 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.082e-05/0.4764, allocations: 23.98 kB / 0.6208 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.4769, allocations: 52.02 kB / 0.6208 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.4779, allocations: 0.5686 MB / 0.6214 GB, free: 7.168 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4783, allocations: 0.7245 MB / 0.6221 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.4783, allocations: 31.42 kB / 0.6221 GB, free: 6.383 MB / 462.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4783, allocations: 0 / 0.6221 GB, free: 6.383 MB / 462.1 MB Notification: Performance of Templates: time 0.006035/0.4843, allocations: 3.379 MB / 0.6254 GB, free: 3.008 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/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: 7.874591881176457]