Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001433/0.001433, allocations: 180.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 219.4 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.001103/0.001103, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.912e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.995/2.098, allocations: 0.6385 GB / 0.9989 GB, free: 18.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/2.099, allocations: 82.19 kB / 0.999 GB, free: 18.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.965/4.064, allocations: 471.3 MB / 1.459 GB, free: 69.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/4.064, allocations: 0.9844 kB / 1.459 GB, free: 69.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.543e-05/4.064, allocations: 7.984 kB / 1.459 GB, free: 69.39 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.00159/4.066, allocations: 0.7066 MB / 1.46 GB, free: 68.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/4.066, allocations: 10.11 kB / 1.46 GB, free: 68.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006255/4.067, allocations: 55.61 kB / 1.46 GB, free: 68.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/4.067, allocations: 282.5 kB / 1.46 GB, free: 68.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/4.067, allocations: 20.56 kB / 1.46 GB, free: 68.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.196e-05/4.067, allocations: 39.33 kB / 1.46 GB, free: 68.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/4.068, allocations: 326.5 kB / 1.461 GB, free: 67.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/4.068, allocations: 3.938 kB / 1.461 GB, free: 67.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/4.068, allocations: 14.56 kB / 1.461 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/4.068, allocations: 8 kB / 1.461 GB, free: 67.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/4.069, allocations: 202.1 kB / 1.461 GB, free: 67.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01653/4.085, allocations: 5.514 MB / 1.466 GB, free: 61.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/4.086, allocations: 186.6 kB / 1.466 GB, free: 61.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/4.086, allocations: 84.73 kB / 1.466 GB, free: 61.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01394/4.1, allocations: 3.493 MB / 1.47 GB, free: 57.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/4.1, allocations: 36.39 kB / 1.47 GB, free: 57.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.837e-06/4.1, allocations: 4 kB / 1.47 GB, free: 57.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.008143/4.108, allocations: 1.268 MB / 1.471 GB, free: 56.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/4.108, allocations: 55.41 kB / 1.471 GB, free: 56.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/4.108, allocations: 230.9 kB / 1.471 GB, free: 55.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/4.108, allocations: 29.7 kB / 1.471 GB, free: 55.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/4.109, allocations: 245.5 kB / 1.472 GB, free: 55.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/4.109, allocations: 94.64 kB / 1.472 GB, free: 55.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/4.109, allocations: 4 kB / 1.472 GB, free: 55.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.974e-05/4.109, allocations: 330.8 kB / 1.472 GB, free: 55.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/4.109, allocations: 95.94 kB / 1.472 GB, free: 55.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/4.109, allocations: 178.7 kB / 1.472 GB, free: 54.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/4.11, allocations: 124.6 kB / 1.472 GB, free: 54.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/4.11, allocations: 7.984 kB / 1.472 GB, free: 54.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000974/4.111, allocations: 366.9 kB / 1.473 GB, free: 54.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/4.111, allocations: 8 kB / 1.473 GB, free: 54.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/4.111, allocations: 8.359 kB / 1.473 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007658/4.118, allocations: 461.2 kB / 1.473 GB, free: 53.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/4.119, allocations: 63.91 kB / 1.473 GB, free: 53.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/4.121, allocations: 1.871 MB / 1.475 GB, free: 51.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/4.121, allocations: 32.02 kB / 1.475 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/4.121, allocations: 16 kB / 1.475 GB, free: 51.77 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.0001313/4.121, allocations: 125.4 kB / 1.475 GB, free: 51.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/4.121, allocations: 31.67 kB / 1.475 GB, free: 51.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/4.122, allocations: 492.8 kB / 1.476 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/4.122, allocations: 4 kB / 1.476 GB, free: 51.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/4.122, allocations: 0 / 1.476 GB, free: 51.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007621/4.123, allocations: 0.7216 MB / 1.477 GB, free: 50.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/4.125, allocations: 0.9365 MB / 1.477 GB, free: 49.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/4.125, allocations: 3.984 kB / 1.477 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/4.125, allocations: 51.95 kB / 1.478 GB, free: 49.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/4.128, allocations: 292.5 kB / 1.478 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/4.128, allocations: 8 kB / 1.478 GB, free: 48.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005701/4.128, allocations: 0.6459 MB / 1.478 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/4.128, allocations: 0 / 1.478 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/4.13, allocations: 0.7256 MB / 1.479 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/4.13, allocations: 108.7 kB / 1.479 GB, free: 47.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/4.13, allocations: 8 kB / 1.479 GB, free: 47.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/4.13, allocations: 15.98 kB / 1.479 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/4.13, allocations: 20.03 kB / 1.479 GB, free: 47.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/4.13, allocations: 15.62 kB / 1.479 GB, free: 47.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002536/4.131, allocations: 175.1 kB / 1.479 GB, free: 47.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/4.131, allocations: 0 / 1.479 GB, free: 47.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001146/4.132, allocations: 215.8 kB / 1.48 GB, free: 46.96 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.001609/4.133, allocations: 474.5 kB / 1.48 GB, free: 46.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/4.135, allocations: 438.1 kB / 1.481 GB, free: 46.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/4.135, allocations: 0.75 kB / 1.481 GB, free: 46.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008531/4.135, allocations: 244.1 kB / 1.481 GB, free: 45.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/4.137, allocations: 159 kB / 1.481 GB, free: 45.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/4.138, allocations: 0.5996 MB / 1.482 GB, free: 45.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/4.139, allocations: 0.7841 MB / 1.482 GB, free: 44.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/4.139, allocations: 35.44 kB / 1.482 GB, free: 44.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/4.139, allocations: 0 / 1.482 GB, free: 44.21 MB / 426.7 MB Notification: Performance of Templates: time 0.01699/4.156, allocations: 9.171 MB / 1.491 GB, free: 35.07 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches