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.001416/0.001416, allocations: 106 kB / 21.18 MB, free: 0.707 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.001621/0.001621, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.454/1.454, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.001735/0.001735, allocations: 55.92 kB / 347.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2992, allocations: 49.16 MB / 396.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05097/0.3501, allocations: 39.69 MB / 436.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003511/0.3536, allocations: 2.068 MB / 438.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002119/0.3538, allocations: 7.938 kB / 438.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.3545, allocations: 174.9 kB / 438.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006751/0.3552, allocations: 318.2 kB / 439.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007422/0.356, allocations: 291.3 kB / 439.4 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001108/0.3571, allocations: 0.8524 MB / 440.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3573, allocations: 84.53 kB / 440.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1094/0.4667, allocations: 43.77 MB / 484.1 MB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007291/0.4674, allocations: 282.9 kB / 484.4 MB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.05e-05/0.4675, allocations: 32 kB / 484.4 MB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.4677, allocations: 39.98 kB / 484.4 MB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.4678, allocations: 91.66 kB / 484.5 MB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.4681, allocations: 187.2 kB / 484.7 MB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006245/0.4688, allocations: 430.5 kB / 485.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4688, allocations: 4 kB / 485.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4688, allocations: 4 kB / 485.1 MB, free: 10.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4688, allocations: 0 / 485.1 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.001073/0.4699, allocations: 0.5131 MB / 485.6 MB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4699, allocations: 11.98 kB / 485.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.4702, allocations: 48.75 kB / 485.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.4707, allocations: 222 kB / 485.9 MB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.222e-05/0.4707, allocations: 24.86 kB / 485.9 MB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.4708, allocations: 24.38 kB / 486 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.4713, allocations: 302.8 kB / 486.3 MB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.4714, allocations: 11.92 kB / 486.3 MB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.4714, allocations: 12 kB / 486.3 MB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.4714, allocations: 4 kB / 486.3 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.4718, allocations: 193.6 kB / 486.5 MB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.4737, allocations: 1.405 MB / 487.9 MB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.4741, allocations: 166.5 kB / 488 MB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4742, allocations: 80.92 kB / 488.1 MB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.4742, allocations: 7.938 kB / 488.1 MB, free: 7.398 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.4743, allocations: 46.5 kB / 488.2 MB, free: 7.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.4743, allocations: 0 / 488.2 MB, free: 7.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002616/0.4769, allocations: 0.8458 MB / 489 MB, free: 6.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.477, allocations: 63.33 kB / 489.1 MB, free: 6.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.4773, allocations: 261.8 kB / 489.3 MB, free: 6.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.4773, allocations: 29.7 kB / 489.4 MB, free: 6.082 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.4775, allocations: 180.5 kB / 489.5 MB, free: 5.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.838e-05/0.4776, allocations: 95.2 kB / 489.6 MB, free: 5.809 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4777, allocations: 65.66 kB / 489.7 MB, free: 5.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4779, allocations: 338.8 kB / 490 MB, free: 5.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.478, allocations: 83.97 kB / 490.1 MB, free: 5.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.4782, allocations: 174.9 kB / 490.3 MB, free: 5.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.4787, allocations: 287 kB / 490.6 MB, free: 4.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4787, allocations: 7.938 kB / 490.6 MB, free: 4.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007501/0.4794, allocations: 382.8 kB / 490.9 MB, free: 4.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4795, allocations: 8 kB / 491 MB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4795, allocations: 4 kB / 491 MB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/0.4798, allocations: 62.05 kB / 491 MB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.4801, allocations: 71.91 kB / 491.1 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.4828, allocations: 2.683 MB / 493.8 MB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4831, allocations: 11.94 kB / 493.8 MB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.4831, allocations: 12 kB / 493.8 MB, free: 1.305 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.0002/0.4833, allocations: 153.8 kB / 493.9 MB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.4834, allocations: 27.86 kB / 494 MB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.4834, allocations: 34.27 kB / 494 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4835, allocations: 4 kB / 494 MB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4835, allocations: 0 / 494 MB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007346/0.4842, allocations: 0.5631 MB / 494.6 MB, free: 432 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4853, allocations: 0.6707 MB / 495.2 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4853, allocations: 0 / 495.2 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.4856, allocations: 43.98 kB / 495.3 MB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.4858, allocations: 56.72 kB / 495.3 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.4858, allocations: 11.88 kB / 495.4 MB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/0.4872, allocations: 1.388 MB / 496.7 MB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4872, allocations: 0 / 496.7 MB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/0.4881, allocations: 473.8 kB / 497.2 MB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.4882, allocations: 23.84 kB / 497.2 MB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.4882, allocations: 7.938 kB / 497.2 MB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4884, allocations: 12.12 kB / 497.2 MB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4885, allocations: 15.95 kB / 497.3 MB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.4885, allocations: 15.94 kB / 497.3 MB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.4887, allocations: 185.2 kB / 497.5 MB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4887, allocations: 0 / 497.5 MB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004399/0.4892, allocations: 88 kB / 497.5 MB, free: 13.26 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.0001703/0.4893, allocations: 99.25 kB / 497.6 MB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.4902, allocations: 465.8 kB / 498.1 MB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4903, allocations: 0 / 498.1 MB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004094/0.4907, allocations: 239.2 kB / 498.3 MB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008568/0.4915, allocations: 157.5 kB / 498.5 MB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4929, allocations: 0.6947 MB / 499.2 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.4933, allocations: 0.7684 MB / 499.9 MB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.4936, allocations: 54.92 kB / 0.4883 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.4936, allocations: 27.44 kB / 0.4883 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4936, allocations: 0 / 0.4883 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Templates: time 0.01252/0.5061, allocations: 5.997 MB / 0.4942 GB, free: 4.664 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.909274787642062]