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.001394/0.001394, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.2 MB / 245 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009728/0.0009729, allocations: 89.92 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002419, allocations: 8 kB / 357.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.227, allocations: 51.49 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.69/11.92, allocations: 6.138 GB / 6.538 GB, free: 109.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/11.92, allocations: 77.92 kB / 6.538 GB, free: 109.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5925/12.51, allocations: 192.4 MB / 6.726 GB, free: 81.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.302e-06/12.51, allocations: 0 / 6.726 GB, free: 81.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/12.51, allocations: 3.562 kB / 6.726 GB, free: 81.09 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.003845/12.51, allocations: 1.119 MB / 6.727 GB, free: 80.43 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/12.51, allocations: 7.125 kB / 6.727 GB, free: 80.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/12.51, allocations: 7.562 kB / 6.727 GB, free: 80.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/12.51, allocations: 191.9 kB / 6.727 GB, free: 80.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/12.51, allocations: 4.219 kB / 6.727 GB, free: 80.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/12.51, allocations: 7.938 kB / 6.727 GB, free: 80.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/12.51, allocations: 67.36 kB / 6.727 GB, free: 80.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/12.51, allocations: 7.656 kB / 6.727 GB, free: 80.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/12.51, allocations: 3.375 kB / 6.727 GB, free: 80.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/12.51, allocations: 3.969 kB / 6.727 GB, free: 80.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/12.51, allocations: 34.62 kB / 6.727 GB, free: 80.18 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/12.51, allocations: 194.3 kB / 6.727 GB, free: 79.98 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/12.51, allocations: 100.4 kB / 6.728 GB, free: 79.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/12.51, allocations: 15.31 kB / 6.728 GB, free: 79.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/12.51, allocations: 36.34 kB / 6.728 GB, free: 79.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/12.51, allocations: 0 / 6.728 GB, free: 79.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002866/12.51, allocations: 97.81 kB / 6.728 GB, free: 79.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/12.51, allocations: 80.55 kB / 6.728 GB, free: 79.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/12.51, allocations: 129.1 kB / 6.728 GB, free: 79.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/12.51, allocations: 29.83 kB / 6.728 GB, free: 79.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/12.51, allocations: 91.52 kB / 6.728 GB, free: 79.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/12.51, allocations: 17.53 kB / 6.728 GB, free: 79.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/12.51, allocations: 3.812 kB / 6.728 GB, free: 79.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/12.51, allocations: 318.6 kB / 6.728 GB, free: 79.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.584e-05/12.51, allocations: 23.45 kB / 6.728 GB, free: 79.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-05/12.51, allocations: 32.36 kB / 6.728 GB, free: 79.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.472e-05/12.52, allocations: 17.38 kB / 6.728 GB, free: 79.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/12.52, allocations: 0 / 6.728 GB, free: 79.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001515/12.52, allocations: 79.36 kB / 6.728 GB, free: 79.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/12.52, allocations: 6.875 kB / 6.728 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/12.52, allocations: 3.797 kB / 6.728 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/12.52, allocations: 3.797 kB / 6.728 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/12.52, allocations: 17.41 kB / 6.728 GB, free: 79.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/12.52, allocations: 4 kB / 6.728 GB, free: 79.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/12.52, allocations: 5.297 kB / 6.728 GB, free: 79.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/12.52, allocations: 7.109 kB / 6.728 GB, free: 79.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.663e-05/12.52, allocations: 117.6 kB / 6.729 GB, free: 79.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/12.52, allocations: 7.938 kB / 6.729 GB, free: 79.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/12.52, allocations: 104.9 kB / 6.729 GB, free: 79 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/12.52, allocations: 3.156 kB / 6.729 GB, free: 79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/12.52, allocations: 0 / 6.729 GB, free: 79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/12.52, allocations: 4 kB / 6.729 GB, free: 79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.624e-05/12.52, allocations: 179.2 kB / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/12.52, allocations: 3.688 kB / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/12.52, allocations: 11.03 kB / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/12.52, allocations: 0 / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/12.52, allocations: 4.969 kB / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/12.52, allocations: 0 / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/12.52, allocations: 0 / 6.729 GB, free: 78.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/12.52, allocations: 137.8 kB / 6.729 GB, free: 78.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/12.52, allocations: 102.4 kB / 6.729 GB, free: 78.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/12.52, allocations: 2.688 kB / 6.729 GB, free: 78.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/12.52, allocations: 7.734 kB / 6.729 GB, free: 78.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/12.52, allocations: 3.969 kB / 6.729 GB, free: 78.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/12.52, allocations: 11.33 kB / 6.729 GB, free: 78.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/12.52, allocations: 104.3 kB / 6.729 GB, free: 78.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/12.52, allocations: 7.938 kB / 6.729 GB, free: 78.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00382/12.52, allocations: 1.004 MB / 6.73 GB, free: 78.4 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.006023/12.53, allocations: 1.469 MB / 6.732 GB, free: 78.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002045/12.53, allocations: 50.41 kB / 6.732 GB, free: 78.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/12.53, allocations: 4 kB / 6.732 GB, free: 78.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/12.53, allocations: 24.38 kB / 6.732 GB, free: 78.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/12.53, allocations: 18.14 kB / 6.732 GB, free: 78.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/12.53, allocations: 213.7 kB / 6.732 GB, free: 77.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/12.53, allocations: 0.6909 MB / 6.733 GB, free: 77.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.885e-05/12.53, allocations: 11.3 kB / 6.733 GB, free: 77.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/12.53, allocations: 14.81 kB / 6.733 GB, free: 77.27 MB / 458.7 MB Notification: Performance of SimCode: time 3.51e-07/12.53, allocations: 0 / 6.733 GB, free: 77.27 MB / 458.7 MB Notification: Performance of Templates: time 0.03193/12.56, allocations: 26.83 MB / 6.759 GB, free: 75.68 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