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.001561/0.001561, allocations: 200.7 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000813/0.0008131, allocations: 96.8 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002674/0.0002674, allocations: 12 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2176, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.82/12.03, allocations: 6.138 GB / 6.538 GB, free: 142 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/12.04, allocations: 79.2 kB / 6.538 GB, free: 142 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5841/12.62, allocations: 189.8 MB / 6.724 GB, free: 93.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/12.62, allocations: 0 / 6.724 GB, free: 93.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/12.62, allocations: 0 / 6.724 GB, free: 93.01 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.004575/12.62, allocations: 1.116 MB / 6.725 GB, free: 92.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/12.62, allocations: 10.44 kB / 6.725 GB, free: 92.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/12.62, allocations: 4.156 kB / 6.725 GB, free: 92.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/12.62, allocations: 199.8 kB / 6.725 GB, free: 92.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/12.62, allocations: 3.969 kB / 6.725 GB, free: 92.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/12.62, allocations: 4.906 kB / 6.725 GB, free: 92.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/12.62, allocations: 68.52 kB / 6.725 GB, free: 92.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/12.62, allocations: 4.125 kB / 6.725 GB, free: 92.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/12.62, allocations: 10.03 kB / 6.725 GB, free: 92.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/12.62, allocations: 0 / 6.725 GB, free: 92.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/12.62, allocations: 31.38 kB / 6.725 GB, free: 92.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/12.62, allocations: 189.5 kB / 6.725 GB, free: 92 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/12.62, allocations: 99.64 kB / 6.725 GB, free: 91.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/12.62, allocations: 37.17 kB / 6.725 GB, free: 91.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.572e-05/12.62, allocations: 12.44 kB / 6.725 GB, free: 91.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/12.62, allocations: 32.91 kB / 6.725 GB, free: 91.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/12.62, allocations: 1.031 kB / 6.725 GB, free: 91.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002681/12.63, allocations: 106.3 kB / 6.726 GB, free: 91.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/12.63, allocations: 85.83 kB / 6.726 GB, free: 91.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/12.63, allocations: 134.9 kB / 6.726 GB, free: 91.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/12.63, allocations: 31.48 kB / 6.726 GB, free: 91.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/12.63, allocations: 87.73 kB / 6.726 GB, free: 91.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/12.63, allocations: 19.98 kB / 6.726 GB, free: 91.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/12.63, allocations: 3.438 kB / 6.726 GB, free: 91.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/12.63, allocations: 316.8 kB / 6.726 GB, free: 91.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/12.63, allocations: 17.62 kB / 6.726 GB, free: 91.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/12.63, allocations: 30.22 kB / 6.726 GB, free: 91.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/12.63, allocations: 56.28 kB / 6.726 GB, free: 91.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/12.63, allocations: 3.609 kB / 6.726 GB, free: 91.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001615/12.63, allocations: 76.88 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/12.63, allocations: 7.875 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/12.63, allocations: 5.172 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/12.63, allocations: 5.625 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/12.63, allocations: 10.72 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/12.63, allocations: 3.75 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/12.63, allocations: 8.766 kB / 6.726 GB, free: 91.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/12.63, allocations: 9.516 kB / 6.726 GB, free: 91.16 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 () * Number of clocked 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 5.242e-05/12.63, allocations: 110.7 kB / 6.727 GB, free: 91.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/12.63, allocations: 8.453 kB / 6.727 GB, free: 91.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/12.63, allocations: 106.2 kB / 6.727 GB, free: 91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/12.63, allocations: 1.281 kB / 6.727 GB, free: 91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/12.63, allocations: 0 / 6.727 GB, free: 91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/12.63, allocations: 1.344 kB / 6.727 GB, free: 91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.858e-05/12.63, allocations: 183 kB / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/12.63, allocations: 1.938 kB / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/12.63, allocations: 13.33 kB / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/12.63, allocations: 3.938 kB / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/12.63, allocations: 3.281 kB / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/12.63, allocations: 0 / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/12.63, allocations: 5.406 kB / 6.727 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/12.63, allocations: 112 kB / 6.727 GB, free: 90.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/12.63, allocations: 104.4 kB / 6.727 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/12.63, allocations: 4.594 kB / 6.727 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.912e-05/12.63, allocations: 7.219 kB / 6.727 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/12.63, allocations: 11.78 kB / 6.727 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/12.63, allocations: 3.094 kB / 6.727 GB, free: 90.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.705e-05/12.63, allocations: 120.3 kB / 6.727 GB, free: 90.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/12.63, allocations: 0 / 6.727 GB, free: 90.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004334/12.63, allocations: 0.9996 MB / 6.728 GB, free: 90.43 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 () * Number of clocked 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.005399/12.64, allocations: 1.479 MB / 6.73 GB, free: 90.21 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000216/12.64, allocations: 46.03 kB / 6.73 GB, free: 90.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/12.64, allocations: 0 / 6.73 GB, free: 90.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/12.64, allocations: 29.12 kB / 6.73 GB, free: 90.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/12.64, allocations: 29.42 kB / 6.73 GB, free: 90.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/12.64, allocations: 214.4 kB / 6.73 GB, free: 90.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/12.64, allocations: 0.6854 MB / 6.731 GB, free: 89.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.393e-05/12.64, allocations: 17.62 kB / 6.731 GB, free: 89.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/12.64, allocations: 11.31 kB / 6.731 GB, free: 89.36 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/12.64, allocations: 3.625 kB / 6.731 GB, free: 89.36 MB / 458.7 MB Notification: Performance of Templates: time 0.0339/12.67, allocations: 28.54 MB / 6.758 GB, free: 89.12 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/jenkins1/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