Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002688/0.002687, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.072/2.072, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 90.38 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/2.008e-05, allocations: 7.984 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 47.58 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.71/1.816, allocations: 0.5812 GB / 0.9357 GB, free: 88.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/1.816, allocations: 73.53 kB / 0.9358 GB, free: 88.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09411/1.91, allocations: 41.08 MB / 0.9759 GB, free: 52.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.91, allocations: 0 / 0.9759 GB, free: 52.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/1.91, allocations: 4 kB / 0.9759 GB, free: 52.55 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.0007015/1.911, allocations: 442.8 kB / 0.9763 GB, free: 52.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.911, allocations: 11.97 kB / 0.9764 GB, free: 52.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008551/1.912, allocations: 99.8 kB / 0.9764 GB, free: 51.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.912, allocations: 183 kB / 0.9766 GB, free: 51.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/1.912, allocations: 0 / 0.9766 GB, free: 51.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.905e-05/1.912, allocations: 11.89 kB / 0.9766 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.601e-05/1.912, allocations: 31.98 kB / 0.9767 GB, free: 51.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/1.913, allocations: 67.38 kB / 0.9767 GB, free: 51.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.913, allocations: 0 / 0.9767 GB, free: 51.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/1.913, allocations: 0 / 0.9767 GB, free: 51.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.913, allocations: 0 / 0.9767 GB, free: 51.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/1.913, allocations: 171 kB / 0.9769 GB, free: 51.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/1.913, allocations: 93.27 kB / 0.977 GB, free: 51.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/1.913, allocations: 21.78 kB / 0.977 GB, free: 51.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007994/1.914, allocations: 1.38 MB / 0.9783 GB, free: 49.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/1.914, allocations: 42.48 kB / 0.9784 GB, free: 49.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/1.914, allocations: 0 / 0.9784 GB, free: 49.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006759/1.915, allocations: 149.6 kB / 0.9785 GB, free: 49.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.915, allocations: 77.11 kB / 0.9786 GB, free: 49.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/1.915, allocations: 121 kB / 0.9787 GB, free: 49.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.915, allocations: 25.7 kB / 0.9787 GB, free: 49.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/1.915, allocations: 88.12 kB / 0.9788 GB, free: 49.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/1.915, allocations: 23.66 kB / 0.9789 GB, free: 49.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/1.915, allocations: 0 / 0.9789 GB, free: 49.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/1.915, allocations: 322.8 kB / 0.9792 GB, free: 48.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.74e-05/1.915, allocations: 16 kB / 0.9792 GB, free: 48.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.507e-05/1.915, allocations: 43.44 kB / 0.9792 GB, free: 48.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/1.916, allocations: 95.88 kB / 0.9793 GB, free: 48.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.916, allocations: 3.953 kB / 0.9793 GB, free: 48.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005277/1.916, allocations: 161.4 kB / 0.9795 GB, free: 48.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.916, allocations: 4.062 kB / 0.9795 GB, free: 48.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.916, allocations: 4 kB / 0.9795 GB, free: 48.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.916, allocations: 7.984 kB / 0.9795 GB, free: 48.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/1.916, allocations: 15.98 kB / 0.9795 GB, free: 48.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.916, allocations: 3.938 kB / 0.9795 GB, free: 48.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/1.917, allocations: 4 kB / 0.9795 GB, free: 48.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/1.917, allocations: 4 kB / 0.9795 GB, free: 48.34 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 () * 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 7.587e-05/1.917, allocations: 105 kB / 0.9796 GB, free: 48.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/1.917, allocations: 11.86 kB / 0.9796 GB, free: 48.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000626/1.917, allocations: 193.7 kB / 0.9798 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/1.917, allocations: 3.938 kB / 0.9798 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.917, allocations: 0 / 0.9798 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.917, allocations: 0 / 0.9798 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/1.918, allocations: 158.1 kB / 0.98 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.918, allocations: 7.922 kB / 0.98 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.918, allocations: 11.98 kB / 0.98 GB, free: 47.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.918, allocations: 11.95 kB / 0.98 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/1.918, allocations: 4 kB / 0.98 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/1.918, allocations: 3.938 kB / 0.98 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.918, allocations: 0 / 0.98 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/1.918, allocations: 203.6 kB / 0.9802 GB, free: 47.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/1.918, allocations: 101 kB / 0.9803 GB, free: 47.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/1.918, allocations: 4.062 kB / 0.9803 GB, free: 47.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.919, allocations: 4 kB / 0.9803 GB, free: 47.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/1.919, allocations: 8.219 kB / 0.9803 GB, free: 47.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/1.919, allocations: 0 / 0.9803 GB, free: 47.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/1.919, allocations: 111.3 kB / 0.9804 GB, free: 47.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.919, allocations: 0 / 0.9804 GB, free: 47.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006648/1.919, allocations: 211.7 kB / 0.9806 GB, free: 47.11 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 () * 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.001543/1.921, allocations: 0.8989 MB / 0.9815 GB, free: 46.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/1.921, allocations: 43.92 kB / 0.9815 GB, free: 46.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.921, allocations: 0 / 0.9815 GB, free: 46.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/1.921, allocations: 31.86 kB / 0.9816 GB, free: 46.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/1.921, allocations: 16.55 kB / 0.9816 GB, free: 46.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/1.922, allocations: 221.4 kB / 0.9818 GB, free: 45.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/1.922, allocations: 0.6885 MB / 0.9825 GB, free: 45.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001892/1.922, allocations: 51.81 kB / 0.9825 GB, free: 45.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/1.922, allocations: 27.41 kB / 0.9825 GB, free: 45.08 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/1.922, allocations: 0 / 0.9825 GB, free: 45.08 MB / 426.7 MB Notification: Performance of Templates: time 0.01052/1.933, allocations: 7.193 MB / 0.9896 GB, free: 37.88 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches