Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001811/0.001811, allocations: 119.9 kB / 18.45 MB, free: 4.473 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.002012/0.002012, allocations: 189.2 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 55.91 kB / 366.8 MB, free: 432 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 52.14 MB / 419 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.2699/0.373, allocations: 37.6 MB / 456.6 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007192/0.3802, allocations: 4.598 MB / 461.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007379/0.381, allocations: 8.875 kB / 461.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.3823, allocations: 299.2 kB / 461.5 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.384, allocations: 488.3 kB / 461.9 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007478/0.3914, allocations: 1.643 MB / 463.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.3941, allocations: 1.271 MB / 464.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.3945, allocations: 133.4 kB / 465 MB, free: 6.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3956, allocations: 485.9 kB / 465.5 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.3965, allocations: 433 kB / 465.9 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.3966, allocations: 49.38 kB / 465.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.3992, allocations: 0.7593 MB / 466.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.3994, allocations: 137.5 kB / 466.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.3998, allocations: 273.3 kB / 467.1 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.4021, allocations: 1.06 MB / 468.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4021, allocations: 0 / 468.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4021, allocations: 0 / 468.1 MB, free: 6.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.4021, allocations: 0 / 468.1 MB, free: 6.414 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00157/0.4037, allocations: 0.7882 MB / 468.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.97e-05/0.4038, allocations: 9.812 kB / 468.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.4048, allocations: 80.92 kB / 469 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006722/0.4055, allocations: 343.5 kB / 469.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.4055, allocations: 29.66 kB / 469.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.4056, allocations: 46.41 kB / 469.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.4066, allocations: 475.3 kB / 469.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.4067, allocations: 1 kB / 469.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.507e-05/0.4067, allocations: 16.44 kB / 469.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4067, allocations: 12.16 kB / 469.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007548/0.4075, allocations: 303.7 kB / 470.2 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.4267, allocations: 6.734 MB / 477 MB, free: 1.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.4274, allocations: 260.2 kB / 477.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.4277, allocations: 145.6 kB / 477.4 MB, free: 1.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01572/0.4434, allocations: 3.889 MB / 481.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.4435, allocations: 42.23 kB / 481.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.407e-06/0.4435, allocations: 0 / 481.3 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01988/0.4634, allocations: 2.456 MB / 483.7 MB, free: 13.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.4634, allocations: 59.47 kB / 483.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.464, allocations: 301.2 kB / 484.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.39e-05/0.464, allocations: 32.45 kB / 484.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.4643, allocations: 229.1 kB / 484.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.4645, allocations: 171.2 kB / 484.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4647, allocations: 100.7 kB / 484.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.465, allocations: 348.4 kB / 485 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.4654, allocations: 149.8 kB / 485.1 MB, free: 12.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.466, allocations: 282.4 kB / 485.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4671, allocations: 468.6 kB / 485.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4671, allocations: 1.188 kB / 485.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001858/0.469, allocations: 0.5875 MB / 486.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.469, allocations: 11.22 kB / 486.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.469, allocations: 2.531 kB / 486.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/0.4819, allocations: 1.854 MB / 488.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.4827, allocations: 112.3 kB / 488.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003477/0.4861, allocations: 2.557 MB / 491 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/0.4867, allocations: 14.72 kB / 491 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.584e-05/0.4867, allocations: 24.95 kB / 491 MB, free: 8.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003912/0.4871, allocations: 182.2 kB / 491.2 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4873, allocations: 42.2 kB / 491.2 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001901/0.4892, allocations: 0.8455 MB / 492.1 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.4892, allocations: 15.3 kB / 492.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4892, allocations: 0.875 kB / 492.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/0.4909, allocations: 0.955 MB / 493 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.4942, allocations: 1.486 MB / 494.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.4942, allocations: 0 / 494.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.4947, allocations: 78.86 kB / 494.6 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005237/0.4999, allocations: 0.622 MB / 495.2 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.993e-05/0.5, allocations: 14.78 kB / 495.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.5017, allocations: 1.288 MB / 496.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5017, allocations: 0 / 496.5 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.5043, allocations: 1.219 MB / 497.7 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002543/0.5045, allocations: 119.2 kB / 497.9 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.714e-05/0.5046, allocations: 14 kB / 497.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/0.505, allocations: 14.69 kB / 497.9 MB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.5051, allocations: 28.16 kB / 497.9 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.5052, allocations: 17.86 kB / 497.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.5055, allocations: 212.9 kB / 498.1 MB, free: 3.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5055, allocations: 3.938 kB / 498.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001379/0.5069, allocations: 232 kB / 498.4 MB, free: 3.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009889/0.5079, allocations: 280.5 kB / 498.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.5098, allocations: 0.6828 MB / 499.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5098, allocations: 0 / 499.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001482/0.5113, allocations: 416.9 kB / 499.7 MB, free: 2.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.5134, allocations: 235.8 kB / 500 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.5167, allocations: 1.279 MB / 0.4895 GB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007003/0.5174, allocations: 0.8361 MB / 0.4903 GB, free: 200 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.5176, allocations: 43.44 kB / 0.4903 GB, free: 156 kB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5176, allocations: 0 / 0.4903 GB, free: 156 kB / 382.1 MB Notification: Performance of Templates: time 0.02774/0.5453, allocations: 13.05 MB / 0.5031 GB, free: 3.117 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 9.898298353189602]