Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Th|Ts|h2|s2",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 197 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.495/1.495, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009304/0.0009303, allocations: 88.88 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.918e-05, allocations: 8 kB / 350.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 51.48 MB / 402 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.06/16.21, allocations: 6.138 GB / 6.531 GB, free: 122.7 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/16.21, allocations: 75.91 kB / 6.531 GB, free: 122.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7397/16.95, allocations: 192.2 MB / 6.718 GB, free: 78.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.424e-06/16.95, allocations: 0 / 6.718 GB, free: 78.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/16.95, allocations: 3.125 kB / 6.718 GB, free: 78.83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.006194/16.96, allocations: 1.095 MB / 6.719 GB, free: 78.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/16.96, allocations: 9.656 kB / 6.719 GB, free: 78.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/16.96, allocations: 7.609 kB / 6.719 GB, free: 78.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/16.96, allocations: 192.3 kB / 6.72 GB, free: 78.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/16.96, allocations: 3.438 kB / 6.72 GB, free: 78.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/16.96, allocations: 2.969 kB / 6.72 GB, free: 78.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/16.96, allocations: 79.08 kB / 6.72 GB, free: 78.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/16.96, allocations: 0 / 6.72 GB, free: 78.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/16.96, allocations: 0 / 6.72 GB, free: 78.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/16.96, allocations: 0 / 6.72 GB, free: 78.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.639e-05/16.96, allocations: 36.08 kB / 6.72 GB, free: 78.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/16.96, allocations: 188.4 kB / 6.72 GB, free: 77.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/16.96, allocations: 97.42 kB / 6.72 GB, free: 77.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/16.96, allocations: 25.84 kB / 6.72 GB, free: 77.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.032e-05/16.96, allocations: 18.89 kB / 6.72 GB, free: 77.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/16.96, allocations: 34.81 kB / 6.72 GB, free: 77.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/16.96, allocations: 0 / 6.72 GB, free: 77.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002005/16.96, allocations: 83.84 kB / 6.72 GB, free: 77.71 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/16.96, allocations: 80.23 kB / 6.72 GB, free: 77.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/16.96, allocations: 129.7 kB / 6.72 GB, free: 77.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/16.96, allocations: 29.42 kB / 6.72 GB, free: 77.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/16.96, allocations: 82.83 kB / 6.72 GB, free: 77.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/16.96, allocations: 24.33 kB / 6.72 GB, free: 77.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/16.96, allocations: 0 / 6.72 GB, free: 77.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.889e-05/16.96, allocations: 321.7 kB / 6.721 GB, free: 77.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/16.96, allocations: 14.47 kB / 6.721 GB, free: 77.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.539e-05/16.96, allocations: 30.23 kB / 6.721 GB, free: 77.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/16.96, allocations: 17.23 kB / 6.721 GB, free: 77.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/16.96, allocations: 0 / 6.721 GB, free: 77.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001211/16.96, allocations: 76.77 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/16.96, allocations: 7.156 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/16.96, allocations: 3.188 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/16.96, allocations: 2.25 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.777e-05/16.96, allocations: 14.62 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/16.96, allocations: 1.688 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.035e-05/16.96, allocations: 2.781 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/16.96, allocations: 8.453 kB / 6.721 GB, free: 77.04 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/16.96, allocations: 109.1 kB / 6.721 GB, free: 76.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/16.96, allocations: 9.969 kB / 6.721 GB, free: 76.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/16.96, allocations: 101.7 kB / 6.721 GB, free: 76.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/16.96, allocations: 5.219 kB / 6.721 GB, free: 76.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/16.96, allocations: 0 / 6.721 GB, free: 76.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/16.96, allocations: 0 / 6.721 GB, free: 76.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/16.96, allocations: 184.6 kB / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/16.96, allocations: 0 / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/16.96, allocations: 17.36 kB / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/16.96, allocations: 3 kB / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/16.96, allocations: 0 / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/16.96, allocations: 0 / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/16.96, allocations: 2 kB / 6.721 GB, free: 76.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/16.96, allocations: 123.2 kB / 6.721 GB, free: 76.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.452e-05/16.96, allocations: 103.2 kB / 6.722 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/16.96, allocations: 6.109 kB / 6.722 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/16.96, allocations: 5.188 kB / 6.722 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/16.96, allocations: 11.16 kB / 6.722 GB, free: 76.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/16.96, allocations: 5.625 kB / 6.722 GB, free: 76.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.196e-05/16.96, allocations: 112.8 kB / 6.722 GB, free: 76.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/16.96, allocations: 0 / 6.722 GB, free: 76.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005826/16.97, allocations: 1.007 MB / 6.723 GB, free: 76.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007915/16.98, allocations: 1.467 MB / 6.724 GB, free: 76.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/16.98, allocations: 43.92 kB / 6.724 GB, free: 76.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/16.98, allocations: 0 / 6.724 GB, free: 76.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/16.98, allocations: 25.53 kB / 6.724 GB, free: 76.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/16.98, allocations: 19.2 kB / 6.724 GB, free: 76.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/16.98, allocations: 110.7 kB / 6.724 GB, free: 76.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/16.98, allocations: 0.6876 MB / 6.725 GB, free: 75.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.3e-05/16.98, allocations: 20.78 kB / 6.725 GB, free: 75.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/16.98, allocations: 18.41 kB / 6.725 GB, free: 75.32 MB / 458.7 MB Notification: Performance of SimCode: time 3.2e-07/16.98, allocations: 0 / 6.725 GB, free: 75.32 MB / 458.7 MB Notification: Performance of Templates: time 0.03629/17.02, allocations: 28.04 MB / 6.752 GB, free: 75.14 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches