Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.002035/0.002035, allocations: 81.39 kB / 21.25 MB, free: 0.5469 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.002392/0.002392, allocations: 162.9 kB / 24.5 MB, free: 3.715 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.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2138/0.2138, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 79.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3023, allocations: 66.06 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0392/0.3415, allocations: 39.81 MB / 0.5362 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0057/0.3472, allocations: 4.07 MB / 0.5401 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006929/0.3479, allocations: 27.62 kB / 0.5402 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.3488, allocations: 312.4 kB / 0.5405 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002124/0.3509, allocations: 0.8766 MB / 0.5413 GB, free: 140 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.3538, allocations: 0.9175 MB / 0.5422 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.3566, allocations: 1.812 MB / 0.544 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.3574, allocations: 396.9 kB / 0.5444 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1111/0.4685, allocations: 44.31 MB / 0.5876 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01988/0.4884, allocations: 7.942 MB / 0.5954 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.4886, allocations: 60 kB / 0.5954 GB, free: 472 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02769/0.5163, allocations: 10.59 MB / 0.6058 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.5168, allocations: 271.2 kB / 0.606 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005671/0.5174, allocations: 326.6 kB / 0.6064 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.5191, allocations: 1.086 MB / 0.6074 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5191, allocations: 0 / 0.6074 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5191, allocations: 0 / 0.6074 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5191, allocations: 0 / 0.6074 GB, free: 4.082 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002096/0.5212, allocations: 0.9951 MB / 0.6084 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.5212, allocations: 8.031 kB / 0.6084 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.5216, allocations: 96.45 kB / 0.6085 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.5224, allocations: 482.7 kB / 0.609 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.5226, allocations: 156.3 kB / 0.6091 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.5227, allocations: 60.11 kB / 0.6092 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.5241, allocations: 1.065 MB / 0.6102 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5241, allocations: 0 / 0.6102 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.5242, allocations: 27.94 kB / 0.6102 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-05/0.5243, allocations: 36.98 kB / 0.6103 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5254, allocations: 0.6439 MB / 0.6109 GB, free: 316 kB / 0.4981 GB 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.00458/0.53, allocations: 3.333 MB / 0.6141 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.5309, allocations: 391.9 kB / 0.6145 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003307/0.5312, allocations: 193.4 kB / 0.6147 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.5315, allocations: 56.27 kB / 0.6148 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.5315, allocations: 38.89 kB / 0.6148 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.532e-06/0.5315, allocations: 0 / 0.6148 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003201/0.5347, allocations: 1.453 MB / 0.6162 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/0.5348, allocations: 132.5 kB / 0.6163 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.5354, allocations: 0.5143 MB / 0.6168 GB, free: 10 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.5355, allocations: 37.64 kB / 0.6169 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.5357, allocations: 380.3 kB / 0.6172 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.5359, allocations: 170.5 kB / 0.6174 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.5361, allocations: 142.6 kB / 0.6175 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5363, allocations: 370.7 kB / 0.6179 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.5367, allocations: 225.9 kB / 0.6181 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.5374, allocations: 0.5962 MB / 0.6187 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5386, allocations: 0.7767 MB / 0.6194 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5386, allocations: 4 kB / 0.6195 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001858/0.5404, allocations: 0.9316 MB / 0.6204 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5404, allocations: 8 kB / 0.6204 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.5405, allocations: 12 kB / 0.6204 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5416, allocations: 263.6 kB / 0.6206 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000437/0.542, allocations: 127.8 kB / 0.6208 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.543, allocations: 0.8606 MB / 0.6216 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004455/0.5435, allocations: 36.05 kB / 0.6216 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-05/0.5435, allocations: 32 kB / 0.6217 GB, free: 4.723 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003433/0.5439, allocations: 245.9 kB / 0.6219 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.544, allocations: 63.62 kB / 0.622 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.5454, allocations: 0.7092 MB / 0.6226 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.5454, allocations: 12 kB / 0.6227 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5454, allocations: 0 / 0.6227 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5454, allocations: 3.984 kB / 0.6227 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.5476, allocations: 1.232 MB / 0.6239 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5476, allocations: 224 / 0.6239 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009599/0.5486, allocations: 195.7 kB / 0.6241 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/0.5488, allocations: 64.72 kB / 0.6241 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.5488, allocations: 8 kB / 0.6241 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.5515, allocations: 2.727 MB / 0.6268 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5515, allocations: 4.031 kB / 0.6268 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.5531, allocations: 1.003 MB / 0.6278 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.5534, allocations: 123.5 kB / 0.6279 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.5535, allocations: 16 kB / 0.6279 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.5538, allocations: 11.98 kB / 0.6279 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.5539, allocations: 43.88 kB / 0.628 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.554, allocations: 23.98 kB / 0.628 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004544/0.5544, allocations: 346.8 kB / 0.6283 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5544, allocations: 0 / 0.6283 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008294/0.5553, allocations: 211.8 kB / 0.6285 GB, free: 13.38 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004076/0.5557, allocations: 225.6 kB / 0.6287 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.5569, allocations: 0.5895 MB / 0.6293 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.5569, allocations: 4 kB / 0.6293 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.5581, allocations: 467 kB / 0.6298 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.5596, allocations: 316.4 kB / 0.6301 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.5619, allocations: 1.416 MB / 0.6314 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.5624, allocations: 341.1 kB / 0.6318 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006002/0.563, allocations: 203.7 kB / 0.632 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5631, allocations: 60.48 kB / 0.632 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.5631, allocations: 3.938 kB / 0.632 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of Templates: time 0.02501/0.5881, allocations: 13.91 MB / 0.6456 GB, free: 12.06 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6171071589924395]