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.001679/0.001679, allocations: 103.6 kB / 21.18 MB, free: 472 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.001574/0.001574, allocations: 214.4 kB / 24.47 MB, free: 3.793 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.505/1.505, allocations: 207.7 MB / 235.3 MB, free: 9.777 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.001919/0.001919, allocations: 59.89 kB / 347.7 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 49.15 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04659/0.3732, allocations: 35.39 MB / 432.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.3765, allocations: 1.899 MB / 434.2 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.3767, allocations: 7.938 kB / 434.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007033/0.3774, allocations: 175 kB / 434.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007419/0.3782, allocations: 314.2 kB / 434.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.379, allocations: 291.3 kB / 434.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.38, allocations: 0.8485 MB / 435.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3803, allocations: 76.53 kB / 435.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1146/0.4949, allocations: 43.7 MB / 479.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006603/0.4956, allocations: 278.9 kB / 479.8 MB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.4957, allocations: 28 kB / 479.9 MB, free: 15.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.4959, allocations: 39.98 kB / 479.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.496, allocations: 87.73 kB / 480 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002529/0.4963, allocations: 155.4 kB / 480.1 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.4969, allocations: 450.4 kB / 480.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4969, allocations: 0 / 480.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4969, allocations: 0 / 480.6 MB, free: 14.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.4969, allocations: 0 / 480.6 MB, free: 14.96 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.0009793/0.4979, allocations: 0.5092 MB / 481.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4979, allocations: 11.98 kB / 481.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.4983, allocations: 44.73 kB / 481.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.4987, allocations: 218.1 kB / 481.4 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.4988, allocations: 24.81 kB / 481.4 MB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.4988, allocations: 28.31 kB / 481.4 MB, free: 14.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.4994, allocations: 457.1 kB / 481.9 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4994, allocations: 7.922 kB / 481.9 MB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.4995, allocations: 19.98 kB / 481.9 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.4995, allocations: 8 kB / 481.9 MB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000347/0.4998, allocations: 185.6 kB / 482.1 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.5016, allocations: 1.129 MB / 483.2 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.5019, allocations: 170.6 kB / 483.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.5021, allocations: 80.83 kB / 483.5 MB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.5021, allocations: 4 kB / 483.5 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.5021, allocations: 38.5 kB / 483.5 MB, free: 11.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.773e-06/0.5021, allocations: 0 / 483.5 MB, free: 11.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002578/0.5047, allocations: 0.8419 MB / 484.3 MB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5048, allocations: 59.34 kB / 484.4 MB, free: 10.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.5051, allocations: 234.7 kB / 484.6 MB, free: 10.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.5051, allocations: 33.7 kB / 484.7 MB, free: 10.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.5053, allocations: 188.4 kB / 484.8 MB, free: 10.44 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.5054, allocations: 95.22 kB / 484.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5055, allocations: 65.66 kB / 485 MB, free: 10.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.5057, allocations: 338.8 kB / 485.3 MB, free: 9.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.5059, allocations: 83.97 kB / 485.4 MB, free: 9.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.5061, allocations: 178.9 kB / 485.6 MB, free: 9.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004276/0.5065, allocations: 287 kB / 485.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5065, allocations: 0 / 485.9 MB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007253/0.5073, allocations: 387.1 kB / 486.2 MB, free: 8.926 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5073, allocations: 8 kB / 486.3 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5073, allocations: 4 kB / 486.3 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.5075, allocations: 61.67 kB / 486.3 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/0.5079, allocations: 63.91 kB / 486.4 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/0.5105, allocations: 2.63 MB / 489 MB, free: 5.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.5107, allocations: 8 kB / 489 MB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.5107, allocations: 16 kB / 489 MB, free: 5.93 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.0001877/0.5109, allocations: 161.7 kB / 489.2 MB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.511, allocations: 23.86 kB / 489.2 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.487e-05/0.5111, allocations: 33.95 kB / 489.2 MB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5111, allocations: 4 kB / 489.2 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5111, allocations: 0 / 489.2 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006947/0.5118, allocations: 0.567 MB / 489.8 MB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.5129, allocations: 0.5971 MB / 490.4 MB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5129, allocations: 8.031 kB / 490.4 MB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.5131, allocations: 47.97 kB / 490.5 MB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.5134, allocations: 52.81 kB / 490.5 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.5134, allocations: 4 kB / 490.5 MB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.5147, allocations: 1.358 MB / 491.9 MB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5147, allocations: 7.969 kB / 491.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.5155, allocations: 466.2 kB / 492.3 MB, free: 2.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.5155, allocations: 23.83 kB / 492.4 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.5156, allocations: 7.984 kB / 492.4 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.5158, allocations: 11.94 kB / 492.4 MB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.5158, allocations: 15.97 kB / 492.4 MB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.5158, allocations: 11.98 kB / 492.4 MB, free: 2.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.516, allocations: 164.6 kB / 492.6 MB, free: 2.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.516, allocations: 0 / 492.6 MB, free: 2.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004929/0.5165, allocations: 88 kB / 492.7 MB, free: 2.023 MB / 398.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.0001788/0.5167, allocations: 99.23 kB / 492.8 MB, free: 1.918 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.5176, allocations: 470 kB / 493.2 MB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5176, allocations: 0 / 493.2 MB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.518, allocations: 230.5 kB / 493.4 MB, free: 1.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.5187, allocations: 145.5 kB / 493.6 MB, free: 1.055 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.5201, allocations: 0.6791 MB / 494.3 MB, free: 352 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.5203, allocations: 159.1 kB / 494.4 MB, free: 168 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002513/0.5206, allocations: 46.94 kB / 494.5 MB, free: 120 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.5207, allocations: 23.44 kB / 494.5 MB, free: 96 kB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5207, allocations: 0 / 494.5 MB, free: 96 kB / 398.1 MB Notification: Performance of Templates: time 0.01154/0.5322, allocations: 5.651 MB / 0.4884 GB, free: 10.43 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: 4.9513741340488195]