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.001544/0.001544, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 91.05 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.852e-05, allocations: 4 kB / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1273, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.385/1.512, allocations: 0.5374 GB / 0.93 GB, free: 8.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.512, allocations: 75.95 kB / 0.9301 GB, free: 8.066 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5561/2.069, allocations: 147.3 MB / 1.074 GB, free: 51.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.735e-06/2.069, allocations: 3.984 kB / 1.074 GB, free: 51.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.216e-05/2.069, allocations: 8 kB / 1.074 GB, free: 51.57 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001265/2.07, allocations: 0.6626 MB / 1.075 GB, free: 50.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/2.07, allocations: 8.031 kB / 1.075 GB, free: 50.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/2.071, allocations: 75.48 kB / 1.075 GB, free: 50.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/2.071, allocations: 335.1 kB / 1.075 GB, free: 50.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/2.071, allocations: 32.78 kB / 1.075 GB, free: 50.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/2.071, allocations: 40 kB / 1.075 GB, free: 50.36 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/2.072, allocations: 463.9 kB / 1.075 GB, free: 49.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/2.072, allocations: 4 kB / 1.075 GB, free: 49.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.981e-05/2.072, allocations: 16 kB / 1.075 GB, free: 49.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/2.072, allocations: 12 kB / 1.076 GB, free: 49.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/2.072, allocations: 290.9 kB / 1.076 GB, free: 49.54 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009977/2.082, allocations: 6.334 MB / 1.082 GB, free: 42.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/2.083, allocations: 272.1 kB / 1.082 GB, free: 42.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/2.083, allocations: 146.6 kB / 1.082 GB, free: 42.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007148/2.09, allocations: 3.503 MB / 1.086 GB, free: 38.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/2.09, allocations: 42.52 kB / 1.086 GB, free: 38.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.555e-06/2.09, allocations: 0 / 1.086 GB, free: 38.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009786/2.1, allocations: 2.275 MB / 1.088 GB, free: 36.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/2.1, allocations: 63.36 kB / 1.088 GB, free: 35.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/2.1, allocations: 263.3 kB / 1.088 GB, free: 35.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/2.1, allocations: 41.7 kB / 1.088 GB, free: 35.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/2.1, allocations: 227.9 kB / 1.089 GB, free: 35.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/2.101, allocations: 153.8 kB / 1.089 GB, free: 35.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/2.101, allocations: 12 kB / 1.089 GB, free: 35.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.877e-05/2.101, allocations: 346.8 kB / 1.089 GB, free: 34.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/2.101, allocations: 145.1 kB / 1.089 GB, free: 34.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/2.101, allocations: 267.8 kB / 1.089 GB, free: 34.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/2.101, allocations: 189.6 kB / 1.09 GB, free: 34.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/2.101, allocations: 0 / 1.09 GB, free: 34.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008741/2.102, allocations: 0.5881 MB / 1.09 GB, free: 33.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/2.102, allocations: 12.02 kB / 1.09 GB, free: 33.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/2.102, allocations: 4 kB / 1.09 GB, free: 33.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00801/2.11, allocations: 0.8766 MB / 1.091 GB, free: 32.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/2.111, allocations: 103.9 kB / 1.091 GB, free: 32.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/2.112, allocations: 2.455 MB / 1.094 GB, free: 30.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/2.113, allocations: 39.83 kB / 1.094 GB, free: 30 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/2.113, allocations: 24 kB / 1.094 GB, free: 29.98 MB / 458.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.0001303/2.113, allocations: 136.9 kB / 1.094 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/2.113, allocations: 39.62 kB / 1.094 GB, free: 29.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/2.114, allocations: 0.8529 MB / 1.095 GB, free: 28.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/2.114, allocations: 11.98 kB / 1.095 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/2.114, allocations: 0 / 1.095 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000716/2.115, allocations: 0.9418 MB / 1.096 GB, free: 27.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/2.116, allocations: 1.488 MB / 1.097 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/2.116, allocations: 0 / 1.097 GB, free: 26.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/2.117, allocations: 83.83 kB / 1.097 GB, free: 26.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/2.12, allocations: 0.575 MB / 1.098 GB, free: 25.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/2.12, allocations: 15.98 kB / 1.098 GB, free: 25.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006458/2.12, allocations: 1.28 MB / 1.099 GB, free: 24.33 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/2.12, allocations: 3.938 kB / 1.099 GB, free: 24.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/2.121, allocations: 1.21 MB / 1.1 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/2.122, allocations: 124.8 kB / 1.1 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/2.122, allocations: 16 kB / 1.1 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/2.122, allocations: 23.98 kB / 1.1 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.257e-05/2.122, allocations: 31.89 kB / 1.1 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/2.122, allocations: 19.98 kB / 1.1 GB, free: 22.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000184/2.122, allocations: 207.1 kB / 1.101 GB, free: 22.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.122, allocations: 0 / 1.101 GB, free: 22.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001003/2.123, allocations: 247.9 kB / 1.101 GB, free: 22.41 MB / 458.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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/2.124, allocations: 439.8 kB / 1.101 GB, free: 21.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009997/2.125, allocations: 0.6787 MB / 1.102 GB, free: 21.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/2.125, allocations: 0 / 1.102 GB, free: 21.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008979/2.126, allocations: 432.5 kB / 1.102 GB, free: 20.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/2.127, allocations: 241.2 kB / 1.103 GB, free: 20.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/2.128, allocations: 0.9644 MB / 1.103 GB, free: 19.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/2.129, allocations: 0.8519 MB / 1.104 GB, free: 18.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002841/2.129, allocations: 68.34 kB / 1.104 GB, free: 18.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.625e-05/2.129, allocations: 39.42 kB / 1.104 GB, free: 18.65 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/2.129, allocations: 0 / 1.104 GB, free: 18.65 MB / 458.7 MB Notification: Performance of Templates: time 0.01743/2.147, allocations: 13.04 MB / 1.117 GB, free: 5.664 MB / 458.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