Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009376/0.0009374, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.0008658, allocations: 87.52 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004112/0.0004112, allocations: 11.98 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2817, allocations: 50.41 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.07/12.35, allocations: 6.138 GB / 6.531 GB, free: 142.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/12.35, allocations: 84.78 kB / 6.531 GB, free: 142.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5749/12.92, allocations: 190.1 MB / 6.717 GB, free: 74.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/12.92, allocations: 0 / 6.717 GB, free: 74.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/12.92, allocations: 7.406 kB / 6.717 GB, free: 74.2 MB / 442.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.004019/12.93, allocations: 1.11 MB / 6.718 GB, free: 73.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/12.93, allocations: 9.875 kB / 6.718 GB, free: 73.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/12.93, allocations: 4.344 kB / 6.718 GB, free: 73.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/12.93, allocations: 189.3 kB / 6.718 GB, free: 73.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/12.93, allocations: 4.219 kB / 6.718 GB, free: 73.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/12.93, allocations: 7.281 kB / 6.718 GB, free: 73.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/12.93, allocations: 78.53 kB / 6.718 GB, free: 73.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/12.93, allocations: 192 / 6.718 GB, free: 73.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/12.93, allocations: 3.938 kB / 6.718 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/12.93, allocations: 3.406 kB / 6.718 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/12.93, allocations: 28.86 kB / 6.718 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/12.93, allocations: 188 kB / 6.718 GB, free: 73.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/12.93, allocations: 108.2 kB / 6.718 GB, free: 73.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.482e-05/12.93, allocations: 27.36 kB / 6.718 GB, free: 73.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.021e-05/12.93, allocations: 9.969 kB / 6.718 GB, free: 73.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/12.93, allocations: 38 kB / 6.719 GB, free: 73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/12.93, allocations: 0 / 6.719 GB, free: 73 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002823/12.93, allocations: 107.3 kB / 6.719 GB, free: 72.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/12.93, allocations: 80.58 kB / 6.719 GB, free: 72.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.886e-05/12.93, allocations: 135.9 kB / 6.719 GB, free: 72.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/12.93, allocations: 29.58 kB / 6.719 GB, free: 72.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/12.93, allocations: 87.86 kB / 6.719 GB, free: 72.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/12.93, allocations: 25.23 kB / 6.719 GB, free: 72.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/12.93, allocations: 0 / 6.719 GB, free: 72.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/12.93, allocations: 326 kB / 6.719 GB, free: 72.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.655e-05/12.93, allocations: 14.92 kB / 6.719 GB, free: 72.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/12.93, allocations: 29.58 kB / 6.719 GB, free: 72.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/12.93, allocations: 54.53 kB / 6.719 GB, free: 72.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/12.93, allocations: 0 / 6.719 GB, free: 72.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001552/12.93, allocations: 80.23 kB / 6.719 GB, free: 72.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/12.93, allocations: 7.719 kB / 6.719 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/12.93, allocations: 4 kB / 6.719 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/12.93, allocations: 0 / 6.719 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.286e-05/12.93, allocations: 16.36 kB / 6.719 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/12.93, allocations: 6.031 kB / 6.719 GB, free: 72.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/12.93, allocations: 7.594 kB / 6.719 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/12.93, allocations: 3.656 kB / 6.719 GB, free: 72.25 MB / 442.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.237e-05/12.93, allocations: 116.6 kB / 6.72 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/12.93, allocations: 11.11 kB / 6.72 GB, free: 72.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/12.93, allocations: 108.5 kB / 6.72 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/12.93, allocations: 3.812 kB / 6.72 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/12.93, allocations: 4.703 kB / 6.72 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/12.93, allocations: 0 / 6.72 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/12.93, allocations: 182.2 kB / 6.72 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/12.93, allocations: 0 / 6.72 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/12.93, allocations: 9.562 kB / 6.72 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/12.93, allocations: 7.812 kB / 6.72 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/12.93, allocations: 0 / 6.72 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/12.93, allocations: 4 kB / 6.72 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/12.93, allocations: 3.75 kB / 6.72 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/12.93, allocations: 112.9 kB / 6.72 GB, free: 71.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/12.93, allocations: 94.97 kB / 6.72 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/12.93, allocations: 11.69 kB / 6.72 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/12.93, allocations: 0 / 6.72 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/12.93, allocations: 15.69 kB / 6.72 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/12.93, allocations: 3.812 kB / 6.72 GB, free: 71.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.043e-05/12.93, allocations: 112.2 kB / 6.72 GB, free: 71.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/12.93, allocations: 0 / 6.72 GB, free: 71.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00353/12.94, allocations: 0.9896 MB / 6.721 GB, free: 71.52 MB / 442.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.006116/12.94, allocations: 1.459 MB / 6.723 GB, free: 71.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001886/12.94, allocations: 49.84 kB / 6.723 GB, free: 71.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/12.94, allocations: 3.938 kB / 6.723 GB, free: 71.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/12.94, allocations: 21.95 kB / 6.723 GB, free: 71.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/12.94, allocations: 17.05 kB / 6.723 GB, free: 71.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/12.94, allocations: 216.4 kB / 6.723 GB, free: 71.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.009e-05/12.94, allocations: 0.6864 MB / 6.724 GB, free: 70.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.046e-05/12.94, allocations: 12.55 kB / 6.724 GB, free: 70.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/12.94, allocations: 14.88 kB / 6.724 GB, free: 70.39 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/12.94, allocations: 0 / 6.724 GB, free: 70.39 MB / 442.7 MB Notification: Performance of Templates: time 0.03357/12.98, allocations: 28.4 MB / 6.751 GB, free: 68.72 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches