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.001537/0.001536, allocations: 186.2 kB / 16.41 MB, free: 5.723 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.905/1.905, allocations: 205.4 MB / 222.5 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.001101/0.001101, allocations: 88.67 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3304, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.019/2.35, allocations: 0.7479 GB / 1.114 GB, free: 5.234 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/2.35, allocations: 74.09 kB / 1.114 GB, free: 5.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5372/2.887, allocations: 78.14 MB / 1.19 GB, free: 104 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/2.887, allocations: 0 / 1.19 GB, free: 104 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/2.887, allocations: 0 / 1.19 GB, free: 104 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.0009871/2.888, allocations: 494.7 kB / 1.191 GB, free: 103.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/2.888, allocations: 8.031 kB / 1.191 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/2.889, allocations: 35.86 kB / 1.191 GB, free: 103.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/2.889, allocations: 187 kB / 1.191 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/2.889, allocations: 8 kB / 1.191 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/2.889, allocations: 4 kB / 1.191 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/2.889, allocations: 79.31 kB / 1.191 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/2.889, allocations: 0 / 1.191 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/2.889, allocations: 0 / 1.191 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/2.889, allocations: 3.938 kB / 1.191 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/2.89, allocations: 47.89 kB / 1.191 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/2.89, allocations: 194.6 kB / 1.191 GB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/2.89, allocations: 121.2 kB / 1.191 GB, free: 102.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005811/2.891, allocations: 141.2 kB / 1.191 GB, free: 102.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/2.891, allocations: 34.56 kB / 1.191 GB, free: 102.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/2.891, allocations: 0 / 1.191 GB, free: 102.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005327/2.891, allocations: 129.4 kB / 1.191 GB, free: 102.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/2.892, allocations: 77.11 kB / 1.192 GB, free: 102.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/2.892, allocations: 132.8 kB / 1.192 GB, free: 102.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/2.892, allocations: 33.7 kB / 1.192 GB, free: 102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/2.892, allocations: 154.6 kB / 1.192 GB, free: 101.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/2.892, allocations: 27.69 kB / 1.192 GB, free: 101.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/2.892, allocations: 0 / 1.192 GB, free: 101.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.15e-05/2.892, allocations: 318.8 kB / 1.192 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/2.892, allocations: 23.97 kB / 1.192 GB, free: 101.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/2.892, allocations: 51.41 kB / 1.192 GB, free: 101.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/2.892, allocations: 35.91 kB / 1.192 GB, free: 101.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.892, allocations: 0 / 1.192 GB, free: 101.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003449/2.893, allocations: 105.6 kB / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/2.893, allocations: 4 kB / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/2.893, allocations: 4 kB / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/2.893, allocations: 3.953 kB / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/2.893, allocations: 24.05 kB / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/2.893, allocations: 0 / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/2.893, allocations: 19.78 kB / 1.192 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/2.893, allocations: 4 kB / 1.192 GB, free: 101.3 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 8.58e-05/2.893, allocations: 113.8 kB / 1.193 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/2.893, allocations: 7.984 kB / 1.193 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004234/2.894, allocations: 129.7 kB / 1.193 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/2.894, allocations: 8 kB / 1.193 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/2.894, allocations: 3.953 kB / 1.193 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/2.894, allocations: 0.5625 kB / 1.193 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/2.894, allocations: 177.6 kB / 1.193 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/2.894, allocations: 0 / 1.193 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/2.894, allocations: 19.98 kB / 1.193 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/2.894, allocations: 0 / 1.193 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/2.894, allocations: 4 kB / 1.193 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/2.894, allocations: 0 / 1.193 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/2.894, allocations: 0 / 1.193 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/2.895, allocations: 191.4 kB / 1.193 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-05/2.895, allocations: 105 kB / 1.193 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/2.895, allocations: 3.938 kB / 1.193 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/2.895, allocations: 7.938 kB / 1.193 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/2.895, allocations: 11.94 kB / 1.193 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/2.895, allocations: 8.062 kB / 1.193 GB, free: 100.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.384e-05/2.895, allocations: 107.2 kB / 1.193 GB, free: 100.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/2.895, allocations: 0 / 1.193 GB, free: 100.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00115/2.896, allocations: 271.6 kB / 1.194 GB, free: 100 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.0023/2.898, allocations: 0.9526 MB / 1.195 GB, free: 99.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003107/2.899, allocations: 56.03 kB / 1.195 GB, free: 99.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.899, allocations: 3.938 kB / 1.195 GB, free: 99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/2.899, allocations: 35.97 kB / 1.195 GB, free: 98.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/2.899, allocations: 31.98 kB / 1.195 GB, free: 98.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/2.9, allocations: 393.4 kB / 1.195 GB, free: 98.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/2.9, allocations: 0.6926 MB / 1.196 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.403e-05/2.9, allocations: 19.42 kB / 1.196 GB, free: 97.77 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/2.9, allocations: 4 kB / 1.196 GB, free: 97.77 MB / 426.7 MB Notification: Performance of Templates: time 0.0163/2.916, allocations: 8.066 MB / 1.204 GB, free: 89.71 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