Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 181 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 92.98 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3088, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.98/16.29, allocations: 6.612 GB / 6.979 GB, free: 80.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/16.29, allocations: 75.97 kB / 6.979 GB, free: 80.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6395/16.93, allocations: 179.7 MB / 7.154 GB, free: 65.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.472e-06/16.93, allocations: 3.938 kB / 7.154 GB, free: 65.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/16.93, allocations: 0 / 7.154 GB, free: 65.23 MB / 426.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.005781/16.93, allocations: 1.094 MB / 7.155 GB, free: 64.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/16.93, allocations: 8.031 kB / 7.155 GB, free: 64.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.262e-05/16.93, allocations: 11.84 kB / 7.155 GB, free: 64.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/16.93, allocations: 198.6 kB / 7.156 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/16.93, allocations: 4 kB / 7.156 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/16.93, allocations: 4 kB / 7.156 GB, free: 63.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/16.93, allocations: 73.83 kB / 7.156 GB, free: 63.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/16.93, allocations: 3.938 kB / 7.156 GB, free: 63.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/16.93, allocations: 0 / 7.156 GB, free: 63.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/16.93, allocations: 4 kB / 7.156 GB, free: 63.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/16.93, allocations: 31.59 kB / 7.156 GB, free: 63.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/16.93, allocations: 197.2 kB / 7.156 GB, free: 63.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/16.93, allocations: 99.12 kB / 7.156 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/16.93, allocations: 11.48 kB / 7.156 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/16.93, allocations: 34.56 kB / 7.156 GB, free: 63.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/16.93, allocations: 0 / 7.156 GB, free: 63.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003106/16.93, allocations: 102.6 kB / 7.156 GB, free: 63.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/16.93, allocations: 77.11 kB / 7.156 GB, free: 63.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/16.93, allocations: 128.2 kB / 7.156 GB, free: 63.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/16.93, allocations: 25.7 kB / 7.156 GB, free: 63.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/16.93, allocations: 88.14 kB / 7.156 GB, free: 62.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/16.93, allocations: 19.36 kB / 7.156 GB, free: 62.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/16.93, allocations: 15.94 kB / 7.156 GB, free: 62.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/16.93, allocations: 314.8 kB / 7.157 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/16.93, allocations: 19.56 kB / 7.157 GB, free: 62.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/16.93, allocations: 29.17 kB / 7.157 GB, free: 62.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/16.93, allocations: 19.75 kB / 7.157 GB, free: 62.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/16.93, allocations: 0 / 7.157 GB, free: 62.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001701/16.93, allocations: 95.03 kB / 7.157 GB, free: 62.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/16.93, allocations: 4 kB / 7.157 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/16.93, allocations: 4 kB / 7.157 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/16.93, allocations: 0 / 7.157 GB, free: 62.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/16.93, allocations: 8 kB / 7.157 GB, free: 62.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/16.93, allocations: 7.562 kB / 7.157 GB, free: 62.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/16.93, allocations: 0 / 7.157 GB, free: 62.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/16.93, allocations: 4 kB / 7.157 GB, free: 62.45 MB / 426.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 7.789e-05/16.93, allocations: 117.8 kB / 7.157 GB, free: 62.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/16.93, allocations: 15.84 kB / 7.157 GB, free: 62.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/16.93, allocations: 103.2 kB / 7.157 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/16.93, allocations: 4 kB / 7.157 GB, free: 62.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/16.93, allocations: 0 / 7.157 GB, free: 62.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/16.93, allocations: 0 / 7.157 GB, free: 62.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/16.93, allocations: 176.8 kB / 7.157 GB, free: 62.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/16.93, allocations: 4 kB / 7.157 GB, free: 62.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/16.93, allocations: 11.56 kB / 7.157 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/16.93, allocations: 3.938 kB / 7.157 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/16.93, allocations: 11.56 kB / 7.157 GB, free: 61.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/16.93, allocations: 0 / 7.157 GB, free: 61.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/16.93, allocations: 0 / 7.157 GB, free: 61.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/16.93, allocations: 126.4 kB / 7.158 GB, free: 61.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/16.93, allocations: 96.7 kB / 7.158 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/16.93, allocations: 0 / 7.158 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/16.93, allocations: 4 kB / 7.158 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/16.93, allocations: 11.8 kB / 7.158 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/16.93, allocations: 4 kB / 7.158 GB, free: 61.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.414e-05/16.94, allocations: 110.6 kB / 7.158 GB, free: 61.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/16.94, allocations: 3.938 kB / 7.158 GB, free: 61.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005672/16.94, allocations: 0.983 MB / 7.159 GB, free: 60.67 MB / 426.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.009296/16.95, allocations: 1.473 MB / 7.16 GB, free: 59.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002691/16.95, allocations: 43.88 kB / 7.16 GB, free: 59.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/16.95, allocations: 3.938 kB / 7.16 GB, free: 59.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/16.95, allocations: 31.64 kB / 7.16 GB, free: 59.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/16.95, allocations: 22.02 kB / 7.16 GB, free: 59.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/16.95, allocations: 214 kB / 7.16 GB, free: 59.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/16.95, allocations: 0.688 MB / 7.161 GB, free: 58.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.994e-05/16.95, allocations: 15.67 kB / 7.161 GB, free: 58.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/16.95, allocations: 15.44 kB / 7.161 GB, free: 58.33 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/16.95, allocations: 0 / 7.161 GB, free: 58.33 MB / 426.7 MB Notification: Performance of Templates: time 0.03435/16.99, allocations: 28.23 MB / 7.189 GB, free: 33.71 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches