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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002529/0.002529, allocations: 184.1 kB / 22.93 MB, free: 5.582 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.557/1.557, allocations: 207.6 MB / 233.5 MB, free: 10.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 54.58 kB / 345.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.312, allocations: 49.12 MB / 394.6 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05058/0.3626, allocations: 39.67 MB / 434.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.3659, allocations: 2.065 MB / 436.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.3662, allocations: 4.312 kB / 436.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.3671, allocations: 178 kB / 436.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009532/0.3681, allocations: 316.3 kB / 436.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000824/0.3689, allocations: 284.5 kB / 437.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.3701, allocations: 0.8413 MB / 437.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3703, allocations: 80.3 kB / 438 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1001/0.4703, allocations: 44.19 MB / 482.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.4712, allocations: 290.9 kB / 482.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.4714, allocations: 28 kB / 482.5 MB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.4717, allocations: 43.98 kB / 482.5 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.4719, allocations: 99.59 kB / 482.6 MB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003458/0.4722, allocations: 179.3 kB / 482.8 MB, free: 11.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007573/0.473, allocations: 430.5 kB / 483.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.473, allocations: 0 / 483.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.473, allocations: 0 / 483.2 MB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.473, allocations: 0 / 483.2 MB, free: 10.61 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.001245/0.4742, allocations: 0.5923 MB / 483.8 MB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4743, allocations: 15.97 kB / 483.8 MB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003396/0.4746, allocations: 40.75 kB / 483.9 MB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006055/0.4752, allocations: 291.9 kB / 484.2 MB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.4752, allocations: 20.94 kB / 484.2 MB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.4753, allocations: 24.38 kB / 484.2 MB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.4759, allocations: 307.6 kB / 484.5 MB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.4759, allocations: 4 kB / 484.5 MB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/0.4759, allocations: 12 kB / 484.5 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.4759, allocations: 8 kB / 484.5 MB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000372/0.4763, allocations: 193.5 kB / 484.7 MB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.4784, allocations: 1.428 MB / 486.1 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.4787, allocations: 174.6 kB / 486.3 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.4789, allocations: 88.77 kB / 486.4 MB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.4789, allocations: 3.938 kB / 486.4 MB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4789, allocations: 34.56 kB / 486.4 MB, free: 7.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.4789, allocations: 0 / 486.4 MB, free: 7.141 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002759/0.4817, allocations: 1.013 MB / 487.4 MB, free: 6.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4817, allocations: 59.39 kB / 487.5 MB, free: 5.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.4821, allocations: 266.5 kB / 487.8 MB, free: 5.711 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.4821, allocations: 29.7 kB / 487.8 MB, free: 5.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4822, allocations: 180.5 kB / 488 MB, free: 5.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.4823, allocations: 95.2 kB / 488.1 MB, free: 5.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.4824, allocations: 65.66 kB / 488.1 MB, free: 5.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4826, allocations: 334.8 kB / 488.5 MB, free: 4.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.4827, allocations: 83.97 kB / 488.5 MB, free: 4.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.483, allocations: 178.8 kB / 488.7 MB, free: 4.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004455/0.4834, allocations: 287 kB / 489 MB, free: 4.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4834, allocations: 7.938 kB / 489 MB, free: 4.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007429/0.4842, allocations: 383.1 kB / 489.4 MB, free: 3.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4842, allocations: 8 kB / 489.4 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4842, allocations: 4 kB / 489.4 MB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.4845, allocations: 61.61 kB / 489.4 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.4848, allocations: 67.91 kB / 489.5 MB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.4875, allocations: 2.894 MB / 492.4 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.4877, allocations: 11.94 kB / 492.4 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.4878, allocations: 16 kB / 492.4 MB, free: 0.6367 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.0002017/0.488, allocations: 151.2 kB / 492.6 MB, free: 492 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.4881, allocations: 27.84 kB / 492.6 MB, free: 464 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.869e-05/0.4882, allocations: 42.17 kB / 492.6 MB, free: 420 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4882, allocations: 0 / 492.6 MB, free: 420 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4882, allocations: 8.062 kB / 492.7 MB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008356/0.489, allocations: 0.5629 MB / 493.2 MB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.4902, allocations: 0.6916 MB / 493.9 MB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.4902, allocations: 4 kB / 493.9 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.4904, allocations: 43.91 kB / 494 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.4907, allocations: 56.78 kB / 494 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-05/0.4908, allocations: 8 kB / 494 MB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.4923, allocations: 1.48 MB / 495.5 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4923, allocations: 0 / 495.5 MB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007892/0.4931, allocations: 484.9 kB / 496 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.4932, allocations: 104.9 kB / 496.1 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.4932, allocations: 4.141 kB / 496.1 MB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.4934, allocations: 8 kB / 496.1 MB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.4935, allocations: 19.97 kB / 496.1 MB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.4935, allocations: 11.92 kB / 496.1 MB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.4937, allocations: 198 kB / 496.3 MB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4937, allocations: 0 / 496.3 MB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.4942, allocations: 88 kB / 496.4 MB, free: 12.32 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.0001658/0.4944, allocations: 103.2 kB / 496.5 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.4953, allocations: 461.9 kB / 496.9 MB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4953, allocations: 0 / 496.9 MB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000408/0.4957, allocations: 230.5 kB / 497.2 MB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/0.4966, allocations: 164.3 kB / 497.3 MB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.4982, allocations: 0.7084 MB / 498 MB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.4987, allocations: 0.7606 MB / 498.8 MB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.4989, allocations: 50.94 kB / 498.9 MB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.499, allocations: 27.42 kB / 498.9 MB, free: 9.738 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.499, allocations: 0 / 498.9 MB, free: 9.738 MB / 414.1 MB Notification: Performance of Templates: time 0.01389/0.5129, allocations: 5.9 MB / 0.4929 GB, free: 3.828 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/jenkins/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/jenkins/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: 5.283849257975817]