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.001256/0.001256, allocations: 94.69 kB / 16.94 MB, free: 6.445 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.00103/0.00103, allocations: 183.1 kB / 17.83 MB, free: 6.012 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.311/1.311, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004586/0.0004587, allocations: 20.78 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09623, allocations: 47.57 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3325/0.4288, allocations: 121.9 MB / 450.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.4308, allocations: 1.519 MB / 451.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.4311, allocations: 0 / 451.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.4317, allocations: 155.3 kB / 451.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000373/0.4321, allocations: 211.4 kB / 452.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.4329, allocations: 337.5 kB / 452.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000557/0.4335, allocations: 470.9 kB / 452.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.4337, allocations: 76.66 kB / 453 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004817/0.4342, allocations: 307.1 kB / 453.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.4345, allocations: 203.3 kB / 453.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.4345, allocations: 16 kB / 453.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002438/0.4348, allocations: 91.88 kB / 453.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.672e-05/0.4349, allocations: 75.72 kB / 453.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.435, allocations: 85.58 kB / 453.7 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.4353, allocations: 373.6 kB / 454.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.4353, allocations: 0 / 454.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4353, allocations: 0 / 454.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4354, allocations: 0 / 454.1 MB, free: 10.61 MB / 350.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.0007115/0.4361, allocations: 0.5268 MB / 454.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4361, allocations: 8.031 kB / 454.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.4364, allocations: 49.98 kB / 454.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.4368, allocations: 274.6 kB / 454.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.4368, allocations: 20.56 kB / 455 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.4369, allocations: 27.91 kB / 455 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.4373, allocations: 297.4 kB / 455.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4374, allocations: 4 kB / 455.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.4374, allocations: 8 kB / 455.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.4374, allocations: 11.95 kB / 455.3 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.4377, allocations: 202.1 kB / 455.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.4394, allocations: 1.293 MB / 456.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.4398, allocations: 183.2 kB / 457 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001477/0.44, allocations: 174.4 kB / 457.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.44, allocations: 30.75 kB / 457.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.44, allocations: 0 / 457.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002381/0.4424, allocations: 1.043 MB / 458.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4424, allocations: 55.41 kB / 458.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.4427, allocations: 258.5 kB / 458.5 MB, free: 5.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.4428, allocations: 33.7 kB / 458.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.443, allocations: 180.2 kB / 458.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.4431, allocations: 94.67 kB / 458.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.4431, allocations: 11.94 kB / 458.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4432, allocations: 334.8 kB / 459.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.4434, allocations: 79.75 kB / 459.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.4436, allocations: 179.8 kB / 459.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.4438, allocations: 111.9 kB / 459.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4438, allocations: 0 / 459.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005836/0.4444, allocations: 447.9 kB / 460 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4444, allocations: 4 kB / 460 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4444, allocations: 4 kB / 460 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.4446, allocations: 41.7 kB / 460 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.4449, allocations: 76.12 kB / 460.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.4467, allocations: 2.587 MB / 462.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.447, allocations: 28.23 kB / 462.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.447, allocations: 12 kB / 462.7 MB, free: 1.223 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001707/0.4472, allocations: 161.6 kB / 462.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.4473, allocations: 27.62 kB / 462.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005485/0.4478, allocations: 362.9 kB / 463.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4478, allocations: 4 kB / 463.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.4479, allocations: 0 / 463.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005415/0.4484, allocations: 0.611 MB / 463.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009826/0.4494, allocations: 0.7547 MB / 464.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4494, allocations: 7.891 kB / 464.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.4497, allocations: 55.97 kB / 464.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-05/0.4498, allocations: 16.84 kB / 464.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.4498, allocations: 11.98 kB / 464.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007848/0.4506, allocations: 1.289 MB / 466 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4506, allocations: 4 kB / 466 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.4512, allocations: 0.5281 MB / 466.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.678e-05/0.4513, allocations: 100.8 kB / 466.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.4513, allocations: 4 kB / 466.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.4516, allocations: 15.98 kB / 466.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.4517, allocations: 27.97 kB / 466.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.4517, allocations: 12 kB / 466.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.4519, allocations: 186 kB / 466.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4519, allocations: 0 / 466.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000469/0.4524, allocations: 99.94 kB / 467 MB, free: 12.54 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002069/0.4526, allocations: 132 kB / 467.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006376/0.4532, allocations: 449.2 kB / 467.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4532, allocations: 0 / 467.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.4535, allocations: 215.4 kB / 467.7 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.4544, allocations: 165.2 kB / 467.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4556, allocations: 0.8065 MB / 468.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.456, allocations: 0.7723 MB / 469.5 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.4563, allocations: 58.94 kB / 469.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.403e-05/0.4563, allocations: 31.42 kB / 469.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4564, allocations: 0 / 469.6 MB, free: 9.832 MB / 366.1 MB Notification: Performance of Templates: time 0.009925/0.4663, allocations: 5.65 MB / 475.2 MB, free: 4.191 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../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