Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 108.4 kB / 18.36 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 191 kB / 19.29 MB, free: 3.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 225.2 MB, free: 12.3 MB / 190.1 MB 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.001163/0.001163, allocations: 55.91 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.076/0.07718, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2995/0.3767, allocations: 144 MB / 472.7 MB, free: 6.527 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3792, allocations: 1.729 MB / 474.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.3794, allocations: 4 kB / 474.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.3801, allocations: 174.9 kB / 474.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005356/0.3806, allocations: 330.2 kB / 475 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009479/0.3816, allocations: 415.7 kB / 475.4 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007979/0.3824, allocations: 0.8406 MB / 476.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.3826, allocations: 109.4 kB / 476.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.3832, allocations: 398.6 kB / 476.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000434/0.3836, allocations: 330.9 kB / 477 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.071e-05/0.3837, allocations: 36 kB / 477.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.384, allocations: 136.3 kB / 477.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.3841, allocations: 99.7 kB / 477.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3843, allocations: 187.2 kB / 477.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.3848, allocations: 487.8 kB / 478 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3849, allocations: 0 / 478 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3849, allocations: 0 / 478 MB, free: 1.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3849, allocations: 0.9375 kB / 478 MB, free: 1.297 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008275/0.3857, allocations: 0.5933 MB / 478.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.3858, allocations: 15.89 kB / 478.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.3861, allocations: 40.56 kB / 478.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004733/0.3865, allocations: 291.7 kB / 478.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.3866, allocations: 20.94 kB / 478.9 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/0.3866, allocations: 24.38 kB / 478.9 MB, free: 240 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.3871, allocations: 309.6 kB / 479.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.3871, allocations: 4 kB / 479.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3872, allocations: 15.94 kB / 479.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3872, allocations: 4 kB / 479.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.3875, allocations: 205.3 kB / 479.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3892, allocations: 1.289 MB / 480.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.3896, allocations: 199.7 kB / 480.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3897, allocations: 92.83 kB / 481 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.3899, allocations: 166.2 kB / 481.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3899, allocations: 34.56 kB / 481.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.432e-06/0.3899, allocations: 0 / 481.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002426/0.3924, allocations: 1.038 MB / 482.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.3924, allocations: 55.41 kB / 482.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3927, allocations: 254.6 kB / 482.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3927, allocations: 33.7 kB / 482.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3929, allocations: 180.2 kB / 482.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.035e-05/0.3929, allocations: 98.58 kB / 482.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.393, allocations: 65.69 kB / 482.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3932, allocations: 334.8 kB / 483.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.3933, allocations: 79.97 kB / 483.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3935, allocations: 175.8 kB / 483.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.3939, allocations: 291.8 kB / 483.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3939, allocations: 0 / 483.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006029/0.3945, allocations: 451.9 kB / 484.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3945, allocations: 4 kB / 484.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3945, allocations: 7.984 kB / 484.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.3947, allocations: 41.7 kB / 484.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.395, allocations: 75.91 kB / 484.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.397, allocations: 2.757 MB / 487.1 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.3972, allocations: 8 kB / 487.1 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.3972, allocations: 20.16 kB / 487.2 MB, free: 7.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.3974, allocations: 157.6 kB / 487.3 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.969e-05/0.3975, allocations: 35.62 kB / 487.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005315/0.398, allocations: 357.9 kB / 487.7 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.398, allocations: 4 kB / 487.7 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.398, allocations: 4 kB / 487.7 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006408/0.3987, allocations: 0.6226 MB / 488.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009873/0.3997, allocations: 0.7473 MB / 489.1 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3997, allocations: 4 kB / 489.1 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.4, allocations: 59.92 kB / 489.1 MB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.776e-05/0.4001, allocations: 20.84 kB / 489.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.4001, allocations: 9.125 kB / 489.2 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008425/0.401, allocations: 1.375 MB / 490.5 MB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.401, allocations: 7.969 kB / 490.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.4016, allocations: 0.5076 MB / 491.1 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.4017, allocations: 104.8 kB / 491.2 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4017, allocations: 11.92 kB / 491.2 MB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.4019, allocations: 8 kB / 491.2 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.402, allocations: 19.91 kB / 491.2 MB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.402, allocations: 16 kB / 491.2 MB, free: 2.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.4022, allocations: 189.9 kB / 491.4 MB, free: 2.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4022, allocations: 0 / 491.4 MB, free: 2.609 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.4027, allocations: 104.1 kB / 491.5 MB, free: 2.508 MB / 382.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 (25): * Single equations (assignments): 24 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002691/0.403, allocations: 147.1 kB / 491.6 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.4037, allocations: 441.7 kB / 492.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4037, allocations: 7.938 kB / 492.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.404, allocations: 214.6 kB / 492.3 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008642/0.4049, allocations: 160.6 kB / 492.4 MB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4061, allocations: 0.6664 MB / 493.1 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.4064, allocations: 0.7684 MB / 493.9 MB, free: 16 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.4067, allocations: 58.88 kB / 493.9 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.4068, allocations: 31.42 kB / 494 MB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4068, allocations: 0 / 494 MB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.01134/0.4181, allocations: 6.152 MB / 0.4884 GB, free: 9.781 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches