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.001567/0.001567, allocations: 195.6 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008491/0.0008492, allocations: 98.86 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002178, allocations: 4 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2079, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9511/1.159, allocations: 0.5376 GB / 0.9373 GB, free: 95.28 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/1.159, allocations: 75.97 kB / 0.9374 GB, free: 95.21 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4369/1.596, allocations: 147.9 MB / 1.082 GB, free: 120.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.596, allocations: 0 / 1.082 GB, free: 120.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.951e-05/1.596, allocations: 11.88 kB / 1.082 GB, free: 120.5 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.001323/1.598, allocations: 0.6947 MB / 1.083 GB, free: 120 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.598, allocations: 7.625 kB / 1.083 GB, free: 120 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005866/1.598, allocations: 85.66 kB / 1.083 GB, free: 119.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/1.599, allocations: 340.3 kB / 1.083 GB, free: 119.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.599, allocations: 33 kB / 1.083 GB, free: 119.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/1.599, allocations: 39.66 kB / 1.083 GB, free: 119.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/1.599, allocations: 469.9 kB / 1.084 GB, free: 119.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/1.6, allocations: 3.938 kB / 1.084 GB, free: 119.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/1.6, allocations: 19.84 kB / 1.084 GB, free: 119.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/1.6, allocations: 7.844 kB / 1.084 GB, free: 119.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/1.6, allocations: 307.4 kB / 1.084 GB, free: 119.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009359/1.609, allocations: 6.297 MB / 1.09 GB, free: 114.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/1.61, allocations: 278.8 kB / 1.09 GB, free: 114.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.61, allocations: 158.6 kB / 1.09 GB, free: 114.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006771/1.617, allocations: 3.459 MB / 1.094 GB, free: 112.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.617, allocations: 34.56 kB / 1.094 GB, free: 112.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.006e-06/1.617, allocations: 0 / 1.094 GB, free: 112.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.00945/1.626, allocations: 2.388 MB / 1.096 GB, free: 111.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.626, allocations: 59.03 kB / 1.096 GB, free: 111.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00031/1.627, allocations: 299.9 kB / 1.096 GB, free: 111.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/1.627, allocations: 36.86 kB / 1.097 GB, free: 111.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.627, allocations: 226.6 kB / 1.097 GB, free: 111 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.36e-05/1.627, allocations: 163 kB / 1.097 GB, free: 110.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/1.627, allocations: 11.62 kB / 1.097 GB, free: 110.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/1.627, allocations: 346.1 kB / 1.097 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.627, allocations: 151.1 kB / 1.097 GB, free: 110.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/1.628, allocations: 276 kB / 1.098 GB, free: 110.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/1.628, allocations: 464.3 kB / 1.098 GB, free: 109.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.628, allocations: 3.5 kB / 1.098 GB, free: 109.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000956/1.629, allocations: 0.5887 MB / 1.099 GB, free: 109.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/1.629, allocations: 11.94 kB / 1.099 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.629, allocations: 7.984 kB / 1.099 GB, free: 109.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007337/1.636, allocations: 0.8574 MB / 1.1 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/1.637, allocations: 107.9 kB / 1.1 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/1.638, allocations: 2.458 MB / 1.102 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000399/1.639, allocations: 44 kB / 1.102 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/1.639, allocations: 20 kB / 1.102 GB, free: 105.8 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 () * Number of clocked 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.0002295/1.639, allocations: 177.7 kB / 1.102 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/1.639, allocations: 43.47 kB / 1.102 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/1.64, allocations: 0.8539 MB / 1.103 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/1.64, allocations: 11.98 kB / 1.103 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/1.64, allocations: 0 / 1.103 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007703/1.641, allocations: 0.965 MB / 1.104 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.643, allocations: 1.492 MB / 1.106 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.643, allocations: 0 / 1.106 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/1.643, allocations: 79.89 kB / 1.106 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/1.646, allocations: 0.5867 MB / 1.106 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/1.646, allocations: 19.94 kB / 1.106 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006645/1.646, allocations: 1.277 MB / 1.107 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.646, allocations: 4.031 kB / 1.107 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/1.648, allocations: 1.226 MB / 1.109 GB, free: 98.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/1.648, allocations: 116.6 kB / 1.109 GB, free: 98.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/1.648, allocations: 15.69 kB / 1.109 GB, free: 98.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/1.648, allocations: 27.83 kB / 1.109 GB, free: 98.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/1.648, allocations: 31.89 kB / 1.109 GB, free: 98.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/1.648, allocations: 19.98 kB / 1.109 GB, free: 98.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001744/1.648, allocations: 212.6 kB / 1.109 GB, free: 98.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/1.648, allocations: 0 / 1.109 GB, free: 98.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008938/1.649, allocations: 251.8 kB / 1.109 GB, free: 98.19 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 () * Number of clocked 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.0012/1.65, allocations: 439.4 kB / 1.11 GB, free: 97.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001045/1.652, allocations: 0.6834 MB / 1.11 GB, free: 97.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.652, allocations: 0 / 1.11 GB, free: 97.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008546/1.652, allocations: 444.3 kB / 1.111 GB, free: 96.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.654, allocations: 239.7 kB / 1.111 GB, free: 96.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/1.655, allocations: 1.482 MB / 1.112 GB, free: 94.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/1.655, allocations: 0.8405 MB / 1.113 GB, free: 94.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003554/1.656, allocations: 67.41 kB / 1.113 GB, free: 94.03 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/1.656, allocations: 39.42 kB / 1.113 GB, free: 93.99 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/1.656, allocations: 0 / 1.113 GB, free: 93.99 MB / 458.7 MB Notification: Performance of Templates: time 0.01792/1.674, allocations: 13.03 MB / 1.126 GB, free: 81.04 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/jenkins1/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