Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00254/0.00254, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 207.6 MB / 236 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 52.3 kB / 348.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.329, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06943/0.3985, allocations: 39.7 MB / 437.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.4033, allocations: 2.064 MB / 439.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/0.4037, allocations: 7.938 kB / 439.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009458/0.4047, allocations: 171 kB / 439.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.4058, allocations: 322.2 kB / 439.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.4069, allocations: 287.4 kB / 440.2 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001528/0.4084, allocations: 0.8485 MB / 441 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.4087, allocations: 80.88 kB / 441.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.124/0.5327, allocations: 43.78 MB / 484.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007908/0.5335, allocations: 278.9 kB / 485.1 MB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.5336, allocations: 39.98 kB / 485.2 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.5339, allocations: 39.98 kB / 485.2 MB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.5341, allocations: 91.61 kB / 485.3 MB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.5344, allocations: 191.2 kB / 485.5 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.5352, allocations: 430.5 kB / 485.9 MB, free: 10.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.5352, allocations: 4 kB / 485.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.947e-06/0.5352, allocations: 0 / 485.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.5352, allocations: 0 / 485.9 MB, free: 10.55 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001278/0.5365, allocations: 0.5131 MB / 486.4 MB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5366, allocations: 11.98 kB / 486.5 MB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003755/0.5369, allocations: 48.75 kB / 486.5 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.5375, allocations: 222 kB / 486.7 MB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.5375, allocations: 20.88 kB / 486.7 MB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.5376, allocations: 28.36 kB / 486.8 MB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.5382, allocations: 294.9 kB / 487.1 MB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5382, allocations: 7.938 kB / 487.1 MB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.5382, allocations: 19.98 kB / 487.1 MB, free: 9.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.5383, allocations: 4 kB / 487.1 MB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003805/0.5386, allocations: 193.6 kB / 487.3 MB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002201/0.5408, allocations: 1.398 MB / 488.7 MB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.5412, allocations: 170.6 kB / 488.8 MB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.5414, allocations: 80.83 kB / 488.9 MB, free: 7.355 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.5414, allocations: 7.984 kB / 488.9 MB, free: 7.348 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5414, allocations: 42.5 kB / 489 MB, free: 7.297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.814e-06/0.5414, allocations: 0 / 489 MB, free: 7.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002668/0.5441, allocations: 0.8496 MB / 489.8 MB, free: 6.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.5442, allocations: 59.39 kB / 489.9 MB, free: 6.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.5445, allocations: 265.8 kB / 490.1 MB, free: 6.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.231e-05/0.5446, allocations: 29.7 kB / 490.2 MB, free: 6.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.5448, allocations: 180.5 kB / 490.3 MB, free: 5.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.5449, allocations: 99.19 kB / 490.4 MB, free: 5.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.545, allocations: 65.66 kB / 490.5 MB, free: 5.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.5452, allocations: 334.8 kB / 490.8 MB, free: 5.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.5453, allocations: 83.97 kB / 490.9 MB, free: 5.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.5456, allocations: 178.9 kB / 491.1 MB, free: 5.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.546, allocations: 287 kB / 491.4 MB, free: 4.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.133e-05/0.546, allocations: 7.938 kB / 491.4 MB, free: 4.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007417/0.5468, allocations: 383.1 kB / 491.7 MB, free: 4.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.5468, allocations: 8 kB / 491.8 MB, free: 4.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.5468, allocations: 4 kB / 491.8 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002735/0.5471, allocations: 57.67 kB / 491.8 MB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.5474, allocations: 71.91 kB / 491.9 MB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.5502, allocations: 2.687 MB / 494.6 MB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5504, allocations: 11.94 kB / 494.6 MB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.5505, allocations: 12 kB / 494.6 MB, free: 1.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001976/0.5507, allocations: 150.4 kB / 494.7 MB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.5507, allocations: 27.86 kB / 494.8 MB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.897e-05/0.5508, allocations: 34.27 kB / 494.8 MB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5508, allocations: 4.141 kB / 494.8 MB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5508, allocations: 0 / 494.8 MB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007299/0.5516, allocations: 0.571 MB / 495.4 MB, free: 372 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.5528, allocations: 0.6707 MB / 496 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5528, allocations: 0 / 496 MB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.5531, allocations: 47.92 kB / 496.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.5533, allocations: 56.81 kB / 496.1 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.5533, allocations: 4 kB / 496.2 MB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.5547, allocations: 1.381 MB / 497.5 MB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5547, allocations: 0 / 497.5 MB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.5554, allocations: 476.9 kB / 498 MB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.5555, allocations: 31.72 kB / 498 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.5555, allocations: 4 kB / 498 MB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.5557, allocations: 8 kB / 498 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.5558, allocations: 15.95 kB / 498.1 MB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.5558, allocations: 19.94 kB / 498.1 MB, free: 13.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002154/0.556, allocations: 185.2 kB / 498.3 MB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.556, allocations: 4.062 kB / 498.3 MB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004523/0.5565, allocations: 88 kB / 498.3 MB, free: 13.2 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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): 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.000159/0.5566, allocations: 95.39 kB / 498.4 MB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009115/0.5576, allocations: 466.5 kB / 498.9 MB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.5576, allocations: 0 / 498.9 MB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.558, allocations: 234.4 kB / 499.1 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009426/0.5589, allocations: 161.5 kB / 499.3 MB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.5605, allocations: 0.7354 MB / 0.4883 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.561, allocations: 0.7645 MB / 0.489 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.5611, allocations: 31.42 kB / 0.4891 GB, free: 10.63 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5611, allocations: 0 / 0.4891 GB, free: 10.63 MB / 414.1 MB Notification: Performance of Templates: time 0.01006/0.5712, allocations: 6.009 MB / 0.4949 GB, free: 4.605 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 8.630605179117993]