Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 194.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.668/2.668, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001552/0.001551, allocations: 98.28 kB / 297.4 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5249, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.326/2.851, allocations: 0.5376 GB / 0.9367 GB, free: 98.72 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/2.852, allocations: 79.95 kB / 0.9368 GB, free: 98.64 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564/5.416, allocations: 455.9 MB / 1.382 GB, free: 13.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/5.416, allocations: 0 / 1.382 GB, free: 13.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/5.416, allocations: 15.98 kB / 1.382 GB, free: 13.02 MB / 458.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.002199/5.418, allocations: 0.7262 MB / 1.383 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/5.419, allocations: 8.031 kB / 1.383 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007851/5.419, allocations: 56.55 kB / 1.383 GB, free: 12.17 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000522/5.42, allocations: 292 kB / 1.383 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/5.42, allocations: 20.94 kB / 1.383 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.132e-05/5.42, allocations: 28.38 kB / 1.383 GB, free: 11.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000741/5.421, allocations: 331.1 kB / 1.383 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/5.421, allocations: 12.03 kB / 1.383 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/5.421, allocations: 19.08 kB / 1.383 GB, free: 11.42 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/5.421, allocations: 8 kB / 1.383 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004957/5.421, allocations: 210 kB / 1.384 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01514/5.437, allocations: 5.463 MB / 1.389 GB, free: 5.242 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/5.437, allocations: 182.5 kB / 1.389 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/5.437, allocations: 88.58 kB / 1.389 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/5.45, allocations: 3.448 MB / 1.393 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.342e-05/5.45, allocations: 38.55 kB / 1.393 GB, free: 1.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 5.871e-06/5.45, allocations: 0 / 1.393 GB, free: 1.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.5062/5.956, allocations: 1.372 MB / 1.394 GB, free: 118.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/5.956, allocations: 59.91 kB / 1.394 GB, free: 118.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008403/5.957, allocations: 256.8 kB / 1.394 GB, free: 118.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/5.957, allocations: 30.48 kB / 1.394 GB, free: 118.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/5.958, allocations: 186.5 kB / 1.394 GB, free: 118.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/5.958, allocations: 95.09 kB / 1.395 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/5.958, allocations: 6.094 kB / 1.395 GB, free: 118.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002103/5.958, allocations: 337.4 kB / 1.395 GB, free: 117.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/5.959, allocations: 89.05 kB / 1.395 GB, free: 117.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/5.959, allocations: 187 kB / 1.395 GB, free: 117.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/5.96, allocations: 302.5 kB / 1.395 GB, free: 117.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/5.96, allocations: 2.938 kB / 1.395 GB, free: 117.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001776/5.962, allocations: 399.1 kB / 1.396 GB, free: 117.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/5.962, allocations: 6.703 kB / 1.396 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/5.962, allocations: 2.531 kB / 1.396 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008279/5.971, allocations: 454.9 kB / 1.396 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/5.971, allocations: 73 kB / 1.396 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/5.974, allocations: 1.861 MB / 1.398 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/5.975, allocations: 33.84 kB / 1.398 GB, free: 115.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-05/5.975, allocations: 12.28 kB / 1.398 GB, free: 115.7 MB / 458.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 () * Number of clocked 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.000471/5.975, allocations: 159.1 kB / 1.398 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/5.975, allocations: 27.03 kB / 1.398 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/5.977, allocations: 491.3 kB / 1.399 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/5.977, allocations: 7.125 kB / 1.399 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/5.977, allocations: 5 kB / 1.399 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001091/5.978, allocations: 0.7196 MB / 1.4 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/5.981, allocations: 0.9414 MB / 1.401 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/5.981, allocations: 3.562 kB / 1.401 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/5.982, allocations: 43.09 kB / 1.401 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00728/5.989, allocations: 318.7 kB / 1.401 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/5.989, allocations: 6.562 kB / 1.401 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008974/5.99, allocations: 0.6377 MB / 1.401 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/5.99, allocations: 3.094 kB / 1.401 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/5.992, allocations: 0.7233 MB / 1.402 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/5.992, allocations: 105.9 kB / 1.402 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/5.992, allocations: 14.72 kB / 1.402 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004653/5.993, allocations: 15.58 kB / 1.402 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/5.993, allocations: 14.92 kB / 1.402 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/5.993, allocations: 13.11 kB / 1.402 GB, free: 113.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004219/5.993, allocations: 183.2 kB / 1.403 GB, free: 113.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/5.994, allocations: 8.375 kB / 1.403 GB, free: 113.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006219/6, allocations: 206.4 kB / 1.403 GB, free: 113.8 MB / 458.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 () * Number of clocked 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.002986/6.003, allocations: 470.9 kB / 1.403 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/6.004, allocations: 448.3 kB / 1.404 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/6.004, allocations: 0 / 1.404 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/6.005, allocations: 236.7 kB / 1.404 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006139/6.011, allocations: 166.2 kB / 1.404 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/6.014, allocations: 0.9866 MB / 1.405 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/6.015, allocations: 0.7773 MB / 1.406 GB, free: 112.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/6.015, allocations: 34.75 kB / 1.406 GB, free: 112.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.245e-06/6.015, allocations: 2.719 kB / 1.406 GB, free: 112.5 MB / 458.7 MB Notification: Performance of Templates: time 0.02447/6.04, allocations: 9.138 MB / 1.415 GB, free: 112.1 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches