Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001434, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.819/1.819, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0009369/0.0009372, allocations: 85.44 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 12 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.466/1.768, allocations: 0.7481 GB / 1.115 GB, free: 24.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.768, allocations: 71.31 kB / 1.115 GB, free: 24.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3519/2.12, allocations: 77.81 MB / 1.191 GB, free: 118.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/2.12, allocations: 4 kB / 1.191 GB, free: 118.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/2.12, allocations: 0 / 1.191 GB, free: 118.7 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.0008262/2.121, allocations: 490.9 kB / 1.192 GB, free: 118.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/2.121, allocations: 8.031 kB / 1.192 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002964/2.122, allocations: 40.78 kB / 1.192 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/2.122, allocations: 196.3 kB / 1.192 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/2.122, allocations: 4.375 kB / 1.192 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/2.122, allocations: 4.281 kB / 1.192 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/2.122, allocations: 79.94 kB / 1.192 GB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/2.122, allocations: 4.188 kB / 1.192 GB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/2.122, allocations: 3.938 kB / 1.192 GB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/2.122, allocations: 4 kB / 1.192 GB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/2.122, allocations: 47.88 kB / 1.192 GB, free: 117.7 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/2.122, allocations: 190.6 kB / 1.192 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/2.123, allocations: 121.1 kB / 1.192 GB, free: 117.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.514e-05/2.123, allocations: 37.69 kB / 1.192 GB, free: 117.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/2.123, allocations: 137 kB / 1.192 GB, free: 117.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/2.123, allocations: 30.56 kB / 1.192 GB, free: 117.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/2.123, allocations: 0 / 1.192 GB, free: 117.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003484/2.124, allocations: 137.3 kB / 1.193 GB, free: 117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/2.124, allocations: 77.11 kB / 1.193 GB, free: 116.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.397e-05/2.124, allocations: 133.8 kB / 1.193 GB, free: 116.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/2.124, allocations: 25.7 kB / 1.193 GB, free: 116.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/2.124, allocations: 92.14 kB / 1.193 GB, free: 116.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/2.124, allocations: 23.73 kB / 1.193 GB, free: 116.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/2.124, allocations: 3.938 kB / 1.193 GB, free: 116.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/2.124, allocations: 314.8 kB / 1.193 GB, free: 116.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/2.124, allocations: 23.97 kB / 1.193 GB, free: 116.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.949e-05/2.124, allocations: 59.33 kB / 1.193 GB, free: 116.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/2.124, allocations: 87.75 kB / 1.193 GB, free: 116.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/2.124, allocations: 0 / 1.193 GB, free: 116.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002596/2.124, allocations: 121.4 kB / 1.193 GB, free: 116 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/2.124, allocations: 4 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/2.124, allocations: 3.938 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/2.124, allocations: 8.062 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/2.125, allocations: 15.98 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/2.125, allocations: 4 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/2.125, allocations: 3.906 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/2.125, allocations: 8 kB / 1.193 GB, free: 115.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.086e-05/2.125, allocations: 117.8 kB / 1.194 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/2.125, allocations: 3.984 kB / 1.194 GB, free: 115.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/2.125, allocations: 137.8 kB / 1.194 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/2.125, allocations: 0 / 1.194 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/2.125, allocations: 4 kB / 1.194 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/2.125, allocations: 0 / 1.194 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/2.125, allocations: 189.5 kB / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/2.125, allocations: 0 / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/2.125, allocations: 15.98 kB / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/2.125, allocations: 0 / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/2.125, allocations: 7.938 kB / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/2.125, allocations: 0 / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.125, allocations: 0 / 1.194 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/2.126, allocations: 181.7 kB / 1.194 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/2.126, allocations: 97.11 kB / 1.194 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/2.126, allocations: 3.938 kB / 1.194 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/2.126, allocations: 4 kB / 1.194 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/2.126, allocations: 3.984 kB / 1.194 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/2.126, allocations: 16.12 kB / 1.194 GB, free: 115 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.824e-05/2.126, allocations: 111.2 kB / 1.194 GB, free: 114.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/2.126, allocations: 0 / 1.194 GB, free: 114.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009553/2.127, allocations: 263.7 kB / 1.195 GB, free: 114.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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.001996/2.129, allocations: 0.9474 MB / 1.196 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001876/2.129, allocations: 63.84 kB / 1.196 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/2.129, allocations: 0 / 1.196 GB, free: 113.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/2.129, allocations: 40.19 kB / 1.196 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/2.129, allocations: 24.11 kB / 1.196 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/2.13, allocations: 400.8 kB / 1.196 GB, free: 113.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/2.13, allocations: 0.6887 MB / 1.197 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/2.13, allocations: 15.44 kB / 1.197 GB, free: 112.4 MB / 426.7 MB Notification: Performance of SimCode: time 2e-07/2.13, allocations: 0 / 1.197 GB, free: 112.4 MB / 426.7 MB Notification: Performance of Templates: time 0.01001/2.14, allocations: 7.537 MB / 1.204 GB, free: 104.9 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches