Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001656/0.001656, allocations: 177.7 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 1.837/1.837, allocations: 205.3 MB / 214.4 MB, free: 1.664 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.001099/0.001099, allocations: 83.95 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.898e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.243/2.37, allocations: 0.7474 GB / 1.102 GB, free: 111.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/2.371, allocations: 67.97 kB / 1.102 GB, free: 111.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1617/2.533, allocations: 76.98 MB / 1.177 GB, free: 33.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/2.533, allocations: 3.938 kB / 1.177 GB, free: 33.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.405e-06/2.533, allocations: 0 / 1.177 GB, free: 33.69 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.0008089/2.533, allocations: 470.6 kB / 1.178 GB, free: 33.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/2.533, allocations: 8.031 kB / 1.178 GB, free: 33.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/2.534, allocations: 39.86 kB / 1.178 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/2.534, allocations: 187 kB / 1.178 GB, free: 32.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/2.534, allocations: 0 / 1.178 GB, free: 32.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/2.534, allocations: 4 kB / 1.178 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.09e-05/2.534, allocations: 47.89 kB / 1.178 GB, free: 32.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/2.534, allocations: 71.38 kB / 1.178 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/2.534, allocations: 0 / 1.178 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/2.534, allocations: 0 / 1.178 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/2.534, allocations: 0 / 1.178 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/2.534, allocations: 171 kB / 1.178 GB, free: 32.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/2.535, allocations: 117.2 kB / 1.178 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/2.535, allocations: 25.86 kB / 1.178 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/2.535, allocations: 141 kB / 1.178 GB, free: 32.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/2.535, allocations: 34.56 kB / 1.179 GB, free: 32.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/2.535, allocations: 0 / 1.179 GB, free: 32.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007266/2.536, allocations: 185.3 kB / 1.179 GB, free: 32.03 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/2.536, allocations: 81.11 kB / 1.179 GB, free: 31.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/2.536, allocations: 121 kB / 1.179 GB, free: 31.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/2.536, allocations: 29.7 kB / 1.179 GB, free: 31.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/2.536, allocations: 92.08 kB / 1.179 GB, free: 31.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/2.536, allocations: 23.7 kB / 1.179 GB, free: 31.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/2.536, allocations: 0 / 1.179 GB, free: 31.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.28e-05/2.536, allocations: 314.8 kB / 1.179 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/2.536, allocations: 23.98 kB / 1.179 GB, free: 31.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.247e-05/2.536, allocations: 47.41 kB / 1.179 GB, free: 31.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/2.537, allocations: 123.8 kB / 1.18 GB, free: 31.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/2.537, allocations: 4 kB / 1.18 GB, free: 31.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006098/2.537, allocations: 197.3 kB / 1.18 GB, free: 30.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/2.537, allocations: 8 kB / 1.18 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/2.537, allocations: 0 / 1.18 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/2.538, allocations: 0 / 1.18 GB, free: 30.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/2.538, allocations: 19.98 kB / 1.18 GB, free: 30.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/2.538, allocations: 0 / 1.18 GB, free: 30.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/2.538, allocations: 7.938 kB / 1.18 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/2.538, allocations: 8.062 kB / 1.18 GB, free: 30.89 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.787e-05/2.538, allocations: 101 kB / 1.18 GB, free: 30.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/2.538, allocations: 19.78 kB / 1.18 GB, free: 30.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/2.538, allocations: 206.2 kB / 1.18 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/2.538, allocations: 7.938 kB / 1.18 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/2.538, allocations: 0 / 1.18 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/2.539, allocations: 0 / 1.18 GB, free: 30.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/2.539, allocations: 162.2 kB / 1.18 GB, free: 30.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/2.539, allocations: 0 / 1.18 GB, free: 30.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.098e-05/2.539, allocations: 23.92 kB / 1.18 GB, free: 30.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/2.539, allocations: 0 / 1.18 GB, free: 30.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/2.539, allocations: 0 / 1.18 GB, free: 30.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/2.539, allocations: 7.953 kB / 1.18 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/2.539, allocations: 0 / 1.18 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/2.539, allocations: 259.4 kB / 1.18 GB, free: 30.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/2.54, allocations: 105 kB / 1.181 GB, free: 29.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/2.54, allocations: 3.953 kB / 1.181 GB, free: 29.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.464e-05/2.54, allocations: 0 / 1.181 GB, free: 29.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/2.54, allocations: 8.266 kB / 1.181 GB, free: 29.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.098e-06/2.54, allocations: 4 kB / 1.181 GB, free: 29.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.291e-05/2.54, allocations: 115.1 kB / 1.181 GB, free: 29.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/2.54, allocations: 0 / 1.181 GB, free: 29.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009086/2.541, allocations: 263.6 kB / 1.181 GB, free: 29.53 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.001706/2.542, allocations: 1.05 MB / 1.182 GB, free: 28.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/2.542, allocations: 55.97 kB / 1.182 GB, free: 28.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/2.543, allocations: 4.125 kB / 1.182 GB, free: 28.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/2.543, allocations: 27.92 kB / 1.182 GB, free: 28.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/2.543, allocations: 27.36 kB / 1.182 GB, free: 28.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/2.543, allocations: 229.4 kB / 1.182 GB, free: 28.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/2.543, allocations: 0.6885 MB / 1.183 GB, free: 27.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.528e-05/2.543, allocations: 19.94 kB / 1.183 GB, free: 27.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/2.543, allocations: 15.42 kB / 1.183 GB, free: 27.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/2.543, allocations: 0 / 1.183 GB, free: 27.36 MB / 426.7 MB Notification: Performance of Templates: time 0.01196/2.555, allocations: 8.521 MB / 1.191 GB, free: 18.83 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_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_TX/Inverse_sh_TX.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches