Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001056/0.001056, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.254/1.254, allocations: 205.4 MB / 222.9 MB, free: 9.043 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.0007079/0.0007079, allocations: 85.55 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001257/0.2288, allocations: 1.076 MB / 376.2 MB, free: 44.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3196/0.5484, allocations: 136.9 MB / 0.501 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.5485, allocations: 0 / 0.501 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.5485, allocations: 6 kB / 0.5011 GB, free: 1.492 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.5498, allocations: 304.5 kB / 0.5013 GB, free: 1.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.5516, allocations: 0.6873 MB / 0.502 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.5518, allocations: 76.7 kB / 0.5021 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.5518, allocations: 3.297 kB / 0.5021 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.5519, allocations: 37.12 kB / 0.5021 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.552, allocations: 39.33 kB / 0.5022 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.552, allocations: 2.125 kB / 0.5022 GB, free: 1.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.5544, allocations: 1.507 MB / 0.5036 GB, free: 1.426 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.632e-05/0.5545, allocations: 17 kB / 0.5037 GB, free: 1.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.5545, allocations: 49.56 kB / 0.5037 GB, free: 1.395 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008967/0.5554, allocations: 0.606 MB / 0.5043 GB, free: 1.371 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5555, allocations: 3 kB / 0.5043 GB, free: 1.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5555, allocations: 0 / 0.5043 GB, free: 1.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.5555, allocations: 0 / 0.5043 GB, free: 1.371 MB / 378.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.0007013/0.5562, allocations: 468.5 kB / 0.5047 GB, free: 16.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5562, allocations: 12.75 kB / 0.5048 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.5565, allocations: 34.7 kB / 0.5048 GB, free: 16.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.5567, allocations: 193.3 kB / 0.505 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5567, allocations: 7.438 kB / 0.505 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.5568, allocations: 8.453 kB / 0.505 GB, free: 16.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.5569, allocations: 73.55 kB / 0.5051 GB, free: 16.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5569, allocations: 0 / 0.5051 GB, free: 16.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.557, allocations: 0 / 0.5051 GB, free: 16.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.557, allocations: 7.5 kB / 0.5051 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.5571, allocations: 38.12 kB / 0.5051 GB, free: 16.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.5573, allocations: 198.1 kB / 0.5053 GB, free: 16.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.5575, allocations: 111 kB / 0.5054 GB, free: 16.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.602e-05/0.5576, allocations: 44.75 kB / 0.5054 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.5581, allocations: 135.5 kB / 0.5056 GB, free: 16.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5581, allocations: 32.39 kB / 0.5056 GB, free: 16.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5582, allocations: 4 kB / 0.5056 GB, free: 16.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003659/0.5585, allocations: 117.5 kB / 0.5057 GB, free: 16.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.5586, allocations: 82.98 kB / 0.5058 GB, free: 16.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.5587, allocations: 137.9 kB / 0.5059 GB, free: 16.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.5587, allocations: 29.08 kB / 0.506 GB, free: 16.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.5588, allocations: 85.73 kB / 0.506 GB, free: 15.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.5588, allocations: 24.42 kB / 0.5061 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.5588, allocations: 3.25 kB / 0.5061 GB, free: 15.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.525e-05/0.5589, allocations: 328 kB / 0.5064 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.559, allocations: 19.17 kB / 0.5064 GB, free: 15.61 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.5591, allocations: 51.53 kB / 0.5064 GB, free: 15.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.5592, allocations: 87.66 kB / 0.5065 GB, free: 15.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5592, allocations: 0 / 0.5065 GB, free: 15.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002135/0.5594, allocations: 116.8 kB / 0.5066 GB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5594, allocations: 5.406 kB / 0.5066 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5595, allocations: 0 / 0.5066 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.5595, allocations: 3.031 kB / 0.5066 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-05/0.5595, allocations: 17.58 kB / 0.5067 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5596, allocations: 2.938 kB / 0.5067 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.5596, allocations: 4.062 kB / 0.5067 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.5596, allocations: 4 kB / 0.5067 GB, free: 15.49 MB / 394.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 8.051e-05/0.5597, allocations: 114.6 kB / 0.5068 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.5598, allocations: 13.61 kB / 0.5068 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.56, allocations: 113.4 kB / 0.5069 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.56, allocations: 2.562 kB / 0.5069 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.56, allocations: 0 / 0.5069 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.56, allocations: 3.234 kB / 0.5069 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.5602, allocations: 189.2 kB / 0.5071 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5602, allocations: 1.094 kB / 0.5071 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.5603, allocations: 17.16 kB / 0.5071 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.5603, allocations: 4.438 kB / 0.5071 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5603, allocations: 1.156 kB / 0.5071 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5603, allocations: 1.156 kB / 0.5071 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5603, allocations: 0.5312 kB / 0.5071 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.5607, allocations: 168.5 kB / 0.5073 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.5607, allocations: 92.69 kB / 0.5074 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.5608, allocations: 4.938 kB / 0.5074 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.5608, allocations: 3.188 kB / 0.5074 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.5609, allocations: 5.938 kB / 0.5074 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.5609, allocations: 2.562 kB / 0.5074 GB, free: 14.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.5609, allocations: 112.9 kB / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.561, allocations: 0 / 0.5075 GB, free: 14.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.5616, allocations: 208.8 kB / 0.5077 GB, free: 14.84 MB / 394.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.001162/0.5628, allocations: 0.525 MB / 0.5082 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.563, allocations: 59.08 kB / 0.5083 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.563, allocations: 0 / 0.5083 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.563, allocations: 35.59 kB / 0.5083 GB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.5633, allocations: 29.73 kB / 0.5083 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005556/0.5638, allocations: 384.9 kB / 0.5087 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5641, allocations: 0.6946 MB / 0.5094 GB, free: 13.69 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.5641, allocations: 18.16 kB / 0.5094 GB, free: 13.68 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5641, allocations: 0.5 kB / 0.5094 GB, free: 13.68 MB / 394.7 MB Notification: Performance of Templates: time 0.007634/0.5718, allocations: 4.815 MB / 0.5141 GB, free: 13.08 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches