Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001777, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 106.3 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.35e-05, allocations: 4 kB / 343.7 MB, free: 8.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 51.48 MB / 395.2 MB, free: 4.789 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.93/2.058, allocations: 0.5368 GB / 0.9227 GB, free: 133.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/2.058, allocations: 70.77 kB / 0.9227 GB, free: 133.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2756/2.334, allocations: 146.7 MB / 1.066 GB, free: 19.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.975e-06/2.334, allocations: 4 kB / 1.066 GB, free: 19.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.782e-05/2.334, allocations: 8 kB / 1.066 GB, free: 19.83 MB / 442.7 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.001894/2.336, allocations: 0.6549 MB / 1.067 GB, free: 19.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/2.336, allocations: 8.031 kB / 1.067 GB, free: 19.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/2.337, allocations: 71.5 kB / 1.067 GB, free: 19.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/2.337, allocations: 339.1 kB / 1.067 GB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/2.337, allocations: 15.94 kB / 1.067 GB, free: 18.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/2.337, allocations: 24 kB / 1.067 GB, free: 18.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004557/2.338, allocations: 265.1 kB / 1.067 GB, free: 18.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/2.339, allocations: 394.8 kB / 1.068 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/2.339, allocations: 0 / 1.068 GB, free: 17.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/2.339, allocations: 8 kB / 1.068 GB, free: 17.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/2.339, allocations: 11.94 kB / 1.068 GB, free: 17.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/2.35, allocations: 6.249 MB / 1.074 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/2.35, allocations: 258.9 kB / 1.074 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/2.35, allocations: 133.1 kB / 1.074 GB, free: 10.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00719/2.358, allocations: 3.511 MB / 1.078 GB, free: 6.918 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/2.358, allocations: 34.5 kB / 1.078 GB, free: 6.875 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.996e-06/2.358, allocations: 0 / 1.078 GB, free: 6.875 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.005744/2.363, allocations: 1.61 MB / 1.079 GB, free: 5.203 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/2.363, allocations: 55.41 kB / 1.079 GB, free: 5.137 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/2.364, allocations: 230.2 kB / 1.08 GB, free: 4.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/2.364, allocations: 29.7 kB / 1.08 GB, free: 4.871 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/2.364, allocations: 231.8 kB / 1.08 GB, free: 4.641 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.707e-05/2.364, allocations: 153.8 kB / 1.08 GB, free: 4.488 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/2.364, allocations: 3.938 kB / 1.08 GB, free: 4.484 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/2.364, allocations: 342.8 kB / 1.08 GB, free: 4.141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/2.364, allocations: 141.1 kB / 1.08 GB, free: 4.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/2.364, allocations: 250.7 kB / 1.081 GB, free: 3.711 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/2.366, allocations: 324.6 kB / 1.081 GB, free: 3.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/2.366, allocations: 0 / 1.081 GB, free: 3.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001827/2.367, allocations: 0.6658 MB / 1.082 GB, free: 2.711 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/2.368, allocations: 11.98 kB / 1.082 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/2.368, allocations: 4.469 kB / 1.082 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/2.368, allocations: 114.5 kB / 1.082 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/2.368, allocations: 107.8 kB / 1.082 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3908/2.759, allocations: 2.514 MB / 1.084 GB, free: 81.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007269/2.76, allocations: 24.44 kB / 1.084 GB, free: 81.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.628e-05/2.76, allocations: 26.44 kB / 1.084 GB, free: 81.91 MB / 442.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/2.76, allocations: 119.8 kB / 1.084 GB, free: 81.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/2.76, allocations: 32.94 kB / 1.084 GB, free: 81.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/2.763, allocations: 0.8064 MB / 1.085 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/2.763, allocations: 7.953 kB / 1.085 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.763, allocations: 0.6094 kB / 1.085 GB, free: 81.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001295/2.764, allocations: 0.9183 MB / 1.086 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/2.766, allocations: 1.378 MB / 1.088 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/2.766, allocations: 2.844 kB / 1.088 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/2.767, allocations: 77.98 kB / 1.088 GB, free: 81.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/2.767, allocations: 185 kB / 1.088 GB, free: 81.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/2.767, allocations: 10.36 kB / 1.088 GB, free: 81.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/2.768, allocations: 1.351 MB / 1.089 GB, free: 80 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/2.768, allocations: 5.797 kB / 1.089 GB, free: 80 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/2.77, allocations: 1.176 MB / 1.09 GB, free: 79.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/2.77, allocations: 121.6 kB / 1.09 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/2.77, allocations: 0 / 1.09 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/2.771, allocations: 17.44 kB / 1.09 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/2.771, allocations: 32.08 kB / 1.09 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/2.771, allocations: 18.28 kB / 1.09 GB, free: 79.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002171/2.771, allocations: 176.2 kB / 1.091 GB, free: 79.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.771, allocations: 2.875 kB / 1.091 GB, free: 79.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001425/2.772, allocations: 226.7 kB / 1.091 GB, free: 79.62 MB / 442.7 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 () * 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 (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,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/2.774, allocations: 455 kB / 1.091 GB, free: 79.53 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/2.775, allocations: 0.6511 MB / 1.092 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/2.775, allocations: 0 / 1.092 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006149/2.776, allocations: 388 kB / 1.092 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/2.777, allocations: 186.6 kB / 1.092 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/2.778, allocations: 0.9419 MB / 1.093 GB, free: 79.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/2.779, allocations: 0.8475 MB / 1.094 GB, free: 78.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003/2.779, allocations: 60.12 kB / 1.094 GB, free: 78.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/2.779, allocations: 38.72 kB / 1.094 GB, free: 78.5 MB / 442.7 MB Notification: Performance of SimCode: time 4.91e-07/2.779, allocations: 2.844 kB / 1.094 GB, free: 78.5 MB / 442.7 MB Notification: Performance of Templates: time 0.01965/2.799, allocations: 10.97 MB / 1.105 GB, free: 77.96 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches