Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.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.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002399/0.002399, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.547/1.547, allocations: 223.2 MB / 240.3 MB, free: 11.88 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.0009542/0.0009543, allocations: 95.2 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2976, allocations: 50.41 MB / 401.5 MB, free: 32.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.62/1.918, allocations: 0.715 GB / 1.107 GB, free: 92.92 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.918, allocations: 73.89 kB / 1.107 GB, free: 92.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1275/2.046, allocations: 68.39 MB / 1.174 GB, free: 31.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.222e-06/2.046, allocations: 0 / 1.174 GB, free: 31.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/2.046, allocations: 4 kB / 1.174 GB, free: 31.26 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.0007627/2.047, allocations: 463.3 kB / 1.174 GB, free: 30.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/2.047, allocations: 12.03 kB / 1.174 GB, free: 30.75 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/2.047, allocations: 55.83 kB / 1.174 GB, free: 30.69 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/2.047, allocations: 191 kB / 1.175 GB, free: 30.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/2.047, allocations: 11.92 kB / 1.175 GB, free: 30.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/2.047, allocations: 4 kB / 1.175 GB, free: 30.45 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/2.047, allocations: 75.31 kB / 1.175 GB, free: 30.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/2.047, allocations: 0 / 1.175 GB, free: 30.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/2.047, allocations: 4 kB / 1.175 GB, free: 30.36 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/2.047, allocations: 0 / 1.175 GB, free: 30.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/2.048, allocations: 51.94 kB / 1.175 GB, free: 30.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/2.048, allocations: 190.5 kB / 1.175 GB, free: 30.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/2.048, allocations: 121.2 kB / 1.175 GB, free: 29.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004114/2.048, allocations: 222.3 kB / 1.175 GB, free: 29.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/2.049, allocations: 34.5 kB / 1.175 GB, free: 29.64 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/2.049, allocations: 0 / 1.175 GB, free: 29.64 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004507/2.049, allocations: 141.5 kB / 1.175 GB, free: 29.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/2.049, allocations: 85.05 kB / 1.175 GB, free: 29.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/2.049, allocations: 129 kB / 1.176 GB, free: 29.26 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/2.049, allocations: 29.64 kB / 1.176 GB, free: 29.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/2.049, allocations: 84.14 kB / 1.176 GB, free: 29.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/2.049, allocations: 23.66 kB / 1.176 GB, free: 29.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/2.049, allocations: 0 / 1.176 GB, free: 29.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/2.049, allocations: 326.8 kB / 1.176 GB, free: 28.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.585e-05/2.049, allocations: 27.97 kB / 1.176 GB, free: 28.76 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.25e-05/2.049, allocations: 47.41 kB / 1.176 GB, free: 28.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/2.05, allocations: 31.97 kB / 1.176 GB, free: 28.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/2.05, allocations: 0 / 1.176 GB, free: 28.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002131/2.05, allocations: 113.4 kB / 1.176 GB, free: 28.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/2.05, allocations: 12.05 kB / 1.176 GB, free: 28.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/2.05, allocations: 0 / 1.176 GB, free: 28.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/2.05, allocations: 4.469 kB / 1.176 GB, free: 28.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/2.05, allocations: 16 kB / 1.176 GB, free: 28.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/2.05, allocations: 0 / 1.176 GB, free: 28.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/2.05, allocations: 7.984 kB / 1.176 GB, free: 28.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/2.05, allocations: 4 kB / 1.176 GB, free: 28.51 MB / 458.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 7.03e-05/2.05, allocations: 121.7 kB / 1.176 GB, free: 28.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/2.05, allocations: 7.906 kB / 1.176 GB, free: 28.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/2.05, allocations: 137.9 kB / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/2.05, allocations: 0 / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.05, allocations: 0 / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/2.05, allocations: 0 / 1.177 GB, free: 28.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/2.05, allocations: 193.5 kB / 1.177 GB, free: 27.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/2.051, allocations: 4 kB / 1.177 GB, free: 27.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/2.051, allocations: 11.98 kB / 1.177 GB, free: 27.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/2.051, allocations: 4 kB / 1.177 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/2.051, allocations: 3.938 kB / 1.177 GB, free: 27.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/2.051, allocations: 4 kB / 1.177 GB, free: 27.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/2.051, allocations: 0 / 1.177 GB, free: 27.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/2.051, allocations: 183.5 kB / 1.177 GB, free: 27.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/2.051, allocations: 97.03 kB / 1.177 GB, free: 27.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/2.051, allocations: 4 kB / 1.177 GB, free: 27.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.355e-05/2.051, allocations: 11.98 kB / 1.177 GB, free: 27.63 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/2.051, allocations: 4 kB / 1.177 GB, free: 27.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/2.051, allocations: 4 kB / 1.177 GB, free: 27.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.473e-05/2.051, allocations: 115.1 kB / 1.177 GB, free: 27.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.051, allocations: 4 kB / 1.177 GB, free: 27.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007708/2.052, allocations: 207.8 kB / 1.177 GB, free: 27.3 MB / 458.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.001352/2.053, allocations: 0.7986 MB / 1.178 GB, free: 26.51 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001858/2.054, allocations: 63.89 kB / 1.178 GB, free: 26.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/2.054, allocations: 4.125 kB / 1.178 GB, free: 26.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/2.054, allocations: 39.86 kB / 1.178 GB, free: 26.41 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/2.054, allocations: 31.12 kB / 1.178 GB, free: 26.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/2.054, allocations: 363.7 kB / 1.179 GB, free: 25.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/2.055, allocations: 0.6926 MB / 1.179 GB, free: 25.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.704e-05/2.055, allocations: 19.94 kB / 1.179 GB, free: 25.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/2.055, allocations: 15.44 kB / 1.179 GB, free: 25.23 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/2.055, allocations: 0 / 1.179 GB, free: 25.23 MB / 458.7 MB Notification: Performance of Templates: time 0.01408/2.069, allocations: 11.69 MB / 1.191 GB, free: 13.55 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_TX/Inverse_sh_TX.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches