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.001314/0.001314, allocations: 180.8 kB / 16.39 MB, free: 5.762 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.286/1.286, allocations: 223.2 MB / 240.3 MB, free: 11.84 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.0008899/0.0008896, allocations: 100.3 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002747, allocations: 8 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2601, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.14/13.4, allocations: 6.137 GB / 6.529 GB, free: 116.4 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/13.4, allocations: 73.33 kB / 6.529 GB, free: 116.4 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5891/13.99, allocations: 192.7 MB / 6.717 GB, free: 86.54 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.755e-06/13.99, allocations: 0 / 6.717 GB, free: 86.54 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/13.99, allocations: 6 kB / 6.718 GB, free: 86.54 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.005486/13.99, allocations: 1.117 MB / 6.719 GB, free: 85.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/13.99, allocations: 11.12 kB / 6.719 GB, free: 85.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/13.99, allocations: 3.562 kB / 6.719 GB, free: 85.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/13.99, allocations: 190.8 kB / 6.719 GB, free: 85.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/13.99, allocations: 14.67 kB / 6.719 GB, free: 85.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/13.99, allocations: 0 / 6.719 GB, free: 85.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/13.99, allocations: 71.38 kB / 6.719 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/13.99, allocations: 0 / 6.719 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/13.99, allocations: 6.875 kB / 6.719 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/13.99, allocations: 0 / 6.719 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/13.99, allocations: 37.45 kB / 6.719 GB, free: 85.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/13.99, allocations: 192.4 kB / 6.719 GB, free: 85.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/13.99, allocations: 94.28 kB / 6.719 GB, free: 85.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/13.99, allocations: 18.12 kB / 6.719 GB, free: 85.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/13.99, allocations: 40.78 kB / 6.719 GB, free: 85.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/13.99, allocations: 0 / 6.719 GB, free: 85.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002688/13.99, allocations: 105.6 kB / 6.719 GB, free: 85.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/13.99, allocations: 80.95 kB / 6.719 GB, free: 85.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/13.99, allocations: 120 kB / 6.72 GB, free: 85.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/13.99, allocations: 25.7 kB / 6.72 GB, free: 85.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/13.99, allocations: 89.64 kB / 6.72 GB, free: 85.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/13.99, allocations: 21.75 kB / 6.72 GB, free: 85.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/13.99, allocations: 3.625 kB / 6.72 GB, free: 85.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.963e-05/13.99, allocations: 310.8 kB / 6.72 GB, free: 84.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.399e-05/13.99, allocations: 17.77 kB / 6.72 GB, free: 84.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/13.99, allocations: 36.23 kB / 6.72 GB, free: 84.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.464e-05/13.99, allocations: 15.97 kB / 6.72 GB, free: 84.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/13.99, allocations: 0 / 6.72 GB, free: 84.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001638/13.99, allocations: 93.44 kB / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/13.99, allocations: 8.641 kB / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/13.99, allocations: 0 / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/13.99, allocations: 3.625 kB / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/13.99, allocations: 10.94 kB / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/13.99, allocations: 3.562 kB / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.331e-05/13.99, allocations: 5.203 kB / 6.72 GB, free: 84.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/13.99, allocations: 3.562 kB / 6.72 GB, free: 84.64 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 6.119e-05/13.99, allocations: 118.4 kB / 6.72 GB, free: 84.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/13.99, allocations: 6.531 kB / 6.72 GB, free: 84.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/13.99, allocations: 115.2 kB / 6.72 GB, free: 84.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/13.99, allocations: 7.812 kB / 6.72 GB, free: 84.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/13.99, allocations: 0 / 6.72 GB, free: 84.48 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/13.99, allocations: 0 / 6.72 GB, free: 84.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.737e-05/13.99, allocations: 170.4 kB / 6.721 GB, free: 84.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/13.99, allocations: 9.812 kB / 6.721 GB, free: 84.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/13.99, allocations: 12.78 kB / 6.721 GB, free: 84.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/13.99, allocations: 4 kB / 6.721 GB, free: 84.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/13.99, allocations: 4.5 kB / 6.721 GB, free: 84.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/13.99, allocations: 3.953 kB / 6.721 GB, free: 84.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/13.99, allocations: 0 / 6.721 GB, free: 84.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/13.99, allocations: 125 kB / 6.721 GB, free: 84.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/13.99, allocations: 104.1 kB / 6.721 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/13.99, allocations: 4.891 kB / 6.721 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/13.99, allocations: 6.984 kB / 6.721 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/13.99, allocations: 8.375 kB / 6.721 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/13.99, allocations: 8.547 kB / 6.721 GB, free: 84.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.252e-05/13.99, allocations: 103.6 kB / 6.721 GB, free: 84.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/13.99, allocations: 0 / 6.721 GB, free: 84.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004065/14, allocations: 0.9969 MB / 6.722 GB, free: 83.89 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.006871/14.01, allocations: 1.459 MB / 6.723 GB, free: 83.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001959/14.01, allocations: 48.31 kB / 6.723 GB, free: 83.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/14.01, allocations: 3.969 kB / 6.723 GB, free: 83.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/14.01, allocations: 21.59 kB / 6.723 GB, free: 83.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/14.01, allocations: 21.23 kB / 6.723 GB, free: 83.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/14.01, allocations: 212.1 kB / 6.724 GB, free: 83.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/14.01, allocations: 0.6871 MB / 6.724 GB, free: 82.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.157e-05/14.01, allocations: 16.05 kB / 6.724 GB, free: 82.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/14.01, allocations: 18.81 kB / 6.724 GB, free: 82.76 MB / 458.7 MB Notification: Performance of SimCode: time 2.8e-07/14.01, allocations: 0 / 6.724 GB, free: 82.76 MB / 458.7 MB Notification: Performance of Templates: time 0.0317/14.04, allocations: 26.65 MB / 6.75 GB, free: 81.18 MB / 458.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/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_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches