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.00188/0.00188, allocations: 176.4 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 90.61 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.949e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 50.41 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.168/2.29, allocations: 0.7142 GB / 1.093 GB, free: 122.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/2.29, allocations: 75.45 kB / 1.093 GB, free: 122.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1351/2.425, allocations: 67.32 MB / 1.158 GB, free: 61.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.382e-06/2.425, allocations: 0 / 1.158 GB, free: 61.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/2.425, allocations: 0 / 1.158 GB, free: 61.35 MB / 442.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.0007442/2.426, allocations: 438.7 kB / 1.159 GB, free: 60.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.503e-05/2.426, allocations: 8.031 kB / 1.159 GB, free: 60.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003866/2.426, allocations: 51.84 kB / 1.159 GB, free: 60.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/2.427, allocations: 202.9 kB / 1.159 GB, free: 60.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/2.427, allocations: 4 kB / 1.159 GB, free: 60.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/2.427, allocations: 0 / 1.159 GB, free: 60.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.344e-05/2.427, allocations: 35.97 kB / 1.159 GB, free: 60.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/2.427, allocations: 67.38 kB / 1.159 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/2.427, allocations: 0 / 1.159 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/2.427, allocations: 7.984 kB / 1.159 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/2.427, allocations: 0 / 1.159 GB, free: 60.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/2.427, allocations: 179 kB / 1.159 GB, free: 60.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/2.427, allocations: 105.2 kB / 1.159 GB, free: 60.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/2.427, allocations: 33.86 kB / 1.16 GB, free: 60.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/2.428, allocations: 222.1 kB / 1.16 GB, free: 59.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/2.428, allocations: 38.5 kB / 1.16 GB, free: 59.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/2.428, allocations: 0 / 1.16 GB, free: 59.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.001278/2.429, allocations: 297.3 kB / 1.16 GB, free: 59.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/2.429, allocations: 77.11 kB / 1.16 GB, free: 59.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/2.429, allocations: 125 kB / 1.16 GB, free: 59.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/2.429, allocations: 29.7 kB / 1.16 GB, free: 59.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/2.429, allocations: 88.12 kB / 1.16 GB, free: 59.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/2.429, allocations: 19.66 kB / 1.16 GB, free: 59.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/2.429, allocations: 0 / 1.16 GB, free: 59.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/2.43, allocations: 322.8 kB / 1.161 GB, free: 58.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/2.43, allocations: 23.92 kB / 1.161 GB, free: 58.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-05/2.43, allocations: 43.42 kB / 1.161 GB, free: 58.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/2.431, allocations: 215.7 kB / 1.161 GB, free: 58.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/2.431, allocations: 3.953 kB / 1.161 GB, free: 58.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009919/2.432, allocations: 289.4 kB / 1.161 GB, free: 58.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/2.432, allocations: 9.25 kB / 1.161 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/2.432, allocations: 3.984 kB / 1.161 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/2.432, allocations: 0 / 1.161 GB, free: 58.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/2.432, allocations: 16 kB / 1.161 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/2.432, allocations: 0 / 1.161 GB, free: 58.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/2.432, allocations: 15.98 kB / 1.161 GB, free: 58.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/2.432, allocations: 4 kB / 1.161 GB, free: 58.16 MB / 442.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.989e-05/2.432, allocations: 104.9 kB / 1.161 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/2.432, allocations: 11.86 kB / 1.161 GB, free: 58.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/2.433, allocations: 306 kB / 1.162 GB, free: 57.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/2.433, allocations: 4 kB / 1.162 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/2.433, allocations: 4 kB / 1.162 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/2.433, allocations: 0 / 1.162 GB, free: 57.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/2.433, allocations: 166.1 kB / 1.162 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.433, allocations: 3.938 kB / 1.162 GB, free: 57.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/2.433, allocations: 15.98 kB / 1.162 GB, free: 57.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/2.433, allocations: 3.953 kB / 1.162 GB, free: 57.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/2.433, allocations: 4 kB / 1.162 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/2.433, allocations: 0 / 1.162 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.433, allocations: 0 / 1.162 GB, free: 57.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/2.434, allocations: 359.2 kB / 1.162 GB, free: 57.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/2.435, allocations: 101 kB / 1.162 GB, free: 57.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/2.435, allocations: 0 / 1.162 GB, free: 57.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/2.435, allocations: 7.984 kB / 1.162 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/2.435, allocations: 4 kB / 1.162 GB, free: 57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/2.435, allocations: 7.984 kB / 1.162 GB, free: 56.99 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.724e-05/2.435, allocations: 99.28 kB / 1.162 GB, free: 56.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.435, allocations: 0 / 1.162 GB, free: 56.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009323/2.436, allocations: 207.8 kB / 1.163 GB, free: 56.69 MB / 442.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.002165/2.438, allocations: 0.9031 MB / 1.164 GB, free: 55.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/2.438, allocations: 55.86 kB / 1.164 GB, free: 55.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/2.438, allocations: 0 / 1.164 GB, free: 55.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/2.438, allocations: 23.98 kB / 1.164 GB, free: 55.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/2.438, allocations: 16.14 kB / 1.164 GB, free: 55.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/2.439, allocations: 245.3 kB / 1.164 GB, free: 55.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/2.439, allocations: 0.6963 MB / 1.165 GB, free: 54.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.179e-05/2.439, allocations: 23.88 kB / 1.165 GB, free: 54.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/2.439, allocations: 23.38 kB / 1.165 GB, free: 54.65 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/2.439, allocations: 0 / 1.165 GB, free: 54.65 MB / 442.7 MB Notification: Performance of Templates: time 0.01199/2.451, allocations: 7.393 MB / 1.172 GB, free: 47.26 MB / 442.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