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.001276/0.001276, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.001049/0.001049, allocations: 86.66 kB / 268 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.261e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.631/1.747, allocations: 0.5816 GB / 0.9429 GB, free: 90.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.747, allocations: 75.95 kB / 0.943 GB, free: 90.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0867/1.834, allocations: 41.66 MB / 0.9837 GB, free: 48.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.834, allocations: 0 / 0.9837 GB, free: 48.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/1.834, allocations: 0 / 0.9837 GB, free: 48.72 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.0006467/1.835, allocations: 446.7 kB / 0.9841 GB, free: 48.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.835, allocations: 8.031 kB / 0.9841 GB, free: 48.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008384/1.836, allocations: 95.88 kB / 0.9842 GB, free: 48.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/1.836, allocations: 187 kB / 0.9844 GB, free: 47.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/1.836, allocations: 4 kB / 0.9844 GB, free: 47.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/1.836, allocations: 11.89 kB / 0.9844 GB, free: 47.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/1.836, allocations: 67.38 kB / 0.9845 GB, free: 47.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/1.836, allocations: 3.938 kB / 0.9845 GB, free: 47.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1.836, allocations: 4 kB / 0.9845 GB, free: 47.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.836, allocations: 4 kB / 0.9845 GB, free: 47.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/1.836, allocations: 23.98 kB / 0.9845 GB, free: 47.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/1.836, allocations: 194.4 kB / 0.9847 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/1.837, allocations: 101 kB / 0.9848 GB, free: 47.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/1.837, allocations: 29.91 kB / 0.9848 GB, free: 47.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006616/1.837, allocations: 1.38 MB / 0.9862 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/1.837, allocations: 38.55 kB / 0.9862 GB, free: 45.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/1.837, allocations: 0 / 0.9862 GB, free: 45.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001979/1.838, allocations: 73.61 kB / 0.9863 GB, free: 45.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.838, allocations: 81.11 kB / 0.9863 GB, free: 45.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.838, allocations: 121 kB / 0.9865 GB, free: 45.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/1.838, allocations: 25.7 kB / 0.9865 GB, free: 45.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/1.838, allocations: 88.14 kB / 0.9866 GB, free: 45.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/1.838, allocations: 27.64 kB / 0.9866 GB, free: 45.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-06/1.838, allocations: 0 / 0.9866 GB, free: 45.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/1.838, allocations: 322.8 kB / 0.9869 GB, free: 44.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.672e-05/1.838, allocations: 19.92 kB / 0.9869 GB, free: 44.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/1.838, allocations: 39.44 kB / 0.987 GB, free: 44.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.553e-05/1.838, allocations: 23.98 kB / 0.987 GB, free: 44.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.838, allocations: 0 / 0.987 GB, free: 44.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001382/1.838, allocations: 93.5 kB / 0.9871 GB, free: 44.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.838, allocations: 4 kB / 0.9871 GB, free: 44.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/1.838, allocations: 4 kB / 0.9871 GB, free: 44.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/1.838, allocations: 0 / 0.9871 GB, free: 44.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/1.838, allocations: 19.92 kB / 0.9871 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/1.838, allocations: 4 kB / 0.9871 GB, free: 44.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/1.839, allocations: 16.05 kB / 0.9871 GB, free: 44.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.839, allocations: 0 / 0.9871 GB, free: 44.66 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 5.832e-05/1.839, allocations: 108.9 kB / 0.9872 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/1.839, allocations: 7.906 kB / 0.9872 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/1.839, allocations: 109.8 kB / 0.9873 GB, free: 44.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.839, allocations: 15.92 kB / 0.9873 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.839, allocations: 3.984 kB / 0.9873 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.839, allocations: 0 / 0.9873 GB, free: 44.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/1.839, allocations: 185.5 kB / 0.9875 GB, free: 44.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.839, allocations: 0 / 0.9875 GB, free: 44.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.839, allocations: 15.98 kB / 0.9875 GB, free: 44.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.839, allocations: 4 kB / 0.9875 GB, free: 44.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.839, allocations: 3.984 kB / 0.9875 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.839, allocations: 0 / 0.9875 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.839, allocations: 0 / 0.9875 GB, free: 44.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/1.839, allocations: 147.6 kB / 0.9877 GB, free: 43.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/1.84, allocations: 93.02 kB / 0.9878 GB, free: 43.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/1.84, allocations: 4 kB / 0.9878 GB, free: 43.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.84, allocations: 7.984 kB / 0.9878 GB, free: 43.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.84, allocations: 7.938 kB / 0.9878 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/1.84, allocations: 3.984 kB / 0.9878 GB, free: 43.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.817e-05/1.84, allocations: 115.3 kB / 0.9879 GB, free: 43.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.84, allocations: 0 / 0.9879 GB, free: 43.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006613/1.841, allocations: 207.7 kB / 0.9881 GB, free: 43.52 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.001231/1.842, allocations: 0.8266 MB / 0.9889 GB, free: 42.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/1.842, allocations: 47.91 kB / 0.989 GB, free: 42.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.842, allocations: 0 / 0.989 GB, free: 42.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/1.842, allocations: 24 kB / 0.989 GB, free: 42.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/1.842, allocations: 11.94 kB / 0.989 GB, free: 42.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/1.843, allocations: 230.5 kB / 0.9892 GB, free: 42.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/1.843, allocations: 0.6887 MB / 0.9899 GB, free: 41.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/1.843, allocations: 51.89 kB / 0.9899 GB, free: 41.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/1.843, allocations: 27.41 kB / 0.99 GB, free: 41.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/1.843, allocations: 0 / 0.99 GB, free: 41.57 MB / 426.7 MB Notification: Performance of Templates: time 0.01554/1.859, allocations: 12.74 MB / 1.002 GB, free: 28.8 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