Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000888/0.0008884, allocations: 74.73 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.59e-05/5.594e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.764/1.896, allocations: 0.6385 GB / 0.9998 GB, free: 31.21 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.897, allocations: 71.97 kB / 0.9999 GB, free: 31.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.609/3.506, allocations: 471.3 MB / 1.46 GB, free: 79.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/3.506, allocations: 3.281 kB / 1.46 GB, free: 79.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.493e-05/3.506, allocations: 4 kB / 1.46 GB, free: 79.24 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00183/3.508, allocations: 0.7154 MB / 1.461 GB, free: 78.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/3.508, allocations: 8.031 kB / 1.461 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006218/3.509, allocations: 51.61 kB / 1.461 GB, free: 78.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/3.509, allocations: 288 kB / 1.461 GB, free: 78.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/3.509, allocations: 20.56 kB / 1.461 GB, free: 78.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/3.509, allocations: 31.95 kB / 1.461 GB, free: 78.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005647/3.51, allocations: 331.2 kB / 1.462 GB, free: 77.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/3.51, allocations: 3.938 kB / 1.462 GB, free: 77.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/3.51, allocations: 12 kB / 1.462 GB, free: 77.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/3.51, allocations: 8 kB / 1.462 GB, free: 77.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/3.51, allocations: 202.1 kB / 1.462 GB, free: 77.47 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/3.521, allocations: 5.525 MB / 1.467 GB, free: 71.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/3.521, allocations: 178.1 kB / 1.467 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/3.521, allocations: 92.84 kB / 1.467 GB, free: 71.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007485/3.529, allocations: 3.491 MB / 1.471 GB, free: 67.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/3.529, allocations: 30.75 kB / 1.471 GB, free: 67.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 4.589e-06/3.529, allocations: 0 / 1.471 GB, free: 67.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005817/3.535, allocations: 1.268 MB / 1.472 GB, free: 66.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/3.535, allocations: 59.41 kB / 1.472 GB, free: 65.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/3.535, allocations: 227 kB / 1.472 GB, free: 65.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/3.535, allocations: 29.7 kB / 1.472 GB, free: 65.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/3.535, allocations: 187.8 kB / 1.473 GB, free: 65.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/3.535, allocations: 98.62 kB / 1.473 GB, free: 65.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/3.535, allocations: 4 kB / 1.473 GB, free: 65.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/3.535, allocations: 342.8 kB / 1.473 GB, free: 65.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/3.536, allocations: 84 kB / 1.473 GB, free: 64.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/3.536, allocations: 186.7 kB / 1.473 GB, free: 64.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/3.536, allocations: 116.7 kB / 1.473 GB, free: 64.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/3.536, allocations: 4 kB / 1.473 GB, free: 64.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006337/3.537, allocations: 390.7 kB / 1.474 GB, free: 64.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/3.537, allocations: 4 kB / 1.474 GB, free: 64.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/3.537, allocations: 11.88 kB / 1.474 GB, free: 64.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/3.541, allocations: 457.6 kB / 1.474 GB, free: 63.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/3.541, allocations: 75.84 kB / 1.474 GB, free: 63.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/3.543, allocations: 1.875 MB / 1.476 GB, free: 61.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/3.543, allocations: 27.89 kB / 1.476 GB, free: 61.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/3.543, allocations: 12 kB / 1.476 GB, free: 61.64 MB / 426.7 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 () * 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 (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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001263/3.543, allocations: 128.9 kB / 1.476 GB, free: 61.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.636e-05/3.543, allocations: 27.67 kB / 1.476 GB, free: 61.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/3.544, allocations: 488.8 kB / 1.477 GB, free: 60.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/3.544, allocations: 4 kB / 1.477 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/3.544, allocations: 4 kB / 1.477 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005442/3.545, allocations: 0.7217 MB / 1.477 GB, free: 60.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/3.546, allocations: 0.938 MB / 1.478 GB, free: 59.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/3.546, allocations: 4 kB / 1.478 GB, free: 59.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/3.546, allocations: 43.91 kB / 1.478 GB, free: 59.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/3.548, allocations: 292.5 kB / 1.479 GB, free: 58.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/3.548, allocations: 8 kB / 1.479 GB, free: 58.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003878/3.548, allocations: 0.6421 MB / 1.479 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/3.548, allocations: 0 / 1.479 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/3.549, allocations: 0.7334 MB / 1.48 GB, free: 57.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/3.549, allocations: 100.8 kB / 1.48 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/3.549, allocations: 4 kB / 1.48 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/3.549, allocations: 23.33 kB / 1.48 GB, free: 57.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/3.549, allocations: 19.08 kB / 1.48 GB, free: 57.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/3.549, allocations: 11.98 kB / 1.48 GB, free: 57.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000173/3.55, allocations: 187.2 kB / 1.48 GB, free: 57.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.55, allocations: 0 / 1.48 GB, free: 57.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001166/3.551, allocations: 211.8 kB / 1.481 GB, free: 56.83 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001786/3.552, allocations: 475.3 kB / 1.481 GB, free: 56.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000908/3.553, allocations: 450.1 kB / 1.481 GB, free: 55.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/3.553, allocations: 0 / 1.481 GB, free: 55.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/3.554, allocations: 237 kB / 1.482 GB, free: 55.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/3.555, allocations: 162.2 kB / 1.482 GB, free: 55.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/3.556, allocations: 0.5741 MB / 1.482 GB, free: 54.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/3.557, allocations: 0.7802 MB / 1.483 GB, free: 54.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002852/3.557, allocations: 50.83 kB / 1.483 GB, free: 54.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.278e-05/3.557, allocations: 27.44 kB / 1.483 GB, free: 54.07 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/3.557, allocations: 4 kB / 1.483 GB, free: 54.06 MB / 426.7 MB Notification: Performance of Templates: time 0.02054/3.578, allocations: 11.19 MB / 1.494 GB, free: 42.93 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches