Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009737/0.0009738, allocations: 176 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.6 MB / 223.7 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007398/0.0007399, allocations: 98.36 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002177/0.0002177, allocations: 4 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001062/0.1861, allocations: 1.08 MB / 377.7 MB, free: 44.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2971/0.4832, allocations: 140.1 MB / 0.5056 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.468e-05/0.4833, allocations: 0 / 0.5056 GB, free: 1.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.4833, allocations: 8.922 kB / 0.5056 GB, free: 1.328 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.4844, allocations: 312.5 kB / 0.5059 GB, free: 1.316 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.486, allocations: 0.7029 MB / 0.5066 GB, free: 1.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.4861, allocations: 95.58 kB / 0.5067 GB, free: 1.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.4862, allocations: 2.969 kB / 0.5067 GB, free: 1.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.4862, allocations: 36.69 kB / 0.5067 GB, free: 1.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.4863, allocations: 37.98 kB / 0.5068 GB, free: 1.273 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.4864, allocations: 0 / 0.5068 GB, free: 1.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.4886, allocations: 1.494 MB / 0.5082 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.4887, allocations: 18.05 kB / 0.5082 GB, free: 1.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.4887, allocations: 53.38 kB / 0.5083 GB, free: 1.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.49, allocations: 0.9315 MB / 0.5092 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.49, allocations: 0 / 0.5092 GB, free: 1.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.49, allocations: 2.906 kB / 0.5092 GB, free: 1.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.49, allocations: 0 / 0.5092 GB, free: 1.191 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.0005428/0.4906, allocations: 470.6 kB / 0.5097 GB, free: 16.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.4906, allocations: 8.625 kB / 0.5097 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.4909, allocations: 37.36 kB / 0.5097 GB, free: 16.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.4911, allocations: 194.6 kB / 0.5099 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4911, allocations: 4.125 kB / 0.5099 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.4911, allocations: 7.25 kB / 0.5099 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4913, allocations: 76.03 kB / 0.51 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4913, allocations: 1.781 kB / 0.51 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.4913, allocations: 7.25 kB / 0.51 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4913, allocations: 3.234 kB / 0.51 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4914, allocations: 40.78 kB / 0.51 GB, free: 16.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.4916, allocations: 192.7 kB / 0.5102 GB, free: 16.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.4919, allocations: 116.6 kB / 0.5103 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.492, allocations: 38.52 kB / 0.5104 GB, free: 16.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004346/0.4924, allocations: 134.9 kB / 0.5105 GB, free: 16.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4925, allocations: 35.41 kB / 0.5105 GB, free: 16.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.4925, allocations: 0 / 0.5105 GB, free: 16.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003068/0.4928, allocations: 117.3 kB / 0.5106 GB, free: 16.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.4929, allocations: 82.2 kB / 0.5107 GB, free: 15.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.493, allocations: 138.4 kB / 0.5108 GB, free: 15.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.493, allocations: 29.08 kB / 0.5109 GB, free: 15.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.493, allocations: 85.77 kB / 0.5109 GB, free: 15.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.4931, allocations: 27.5 kB / 0.511 GB, free: 15.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.4931, allocations: 6.938 kB / 0.511 GB, free: 15.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4932, allocations: 323.1 kB / 0.5113 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.4933, allocations: 23.92 kB / 0.5113 GB, free: 15.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.4933, allocations: 50.61 kB / 0.5114 GB, free: 15.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.4935, allocations: 81.11 kB / 0.5114 GB, free: 15.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.4935, allocations: 0 / 0.5114 GB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002265/0.4937, allocations: 114 kB / 0.5115 GB, free: 15.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4937, allocations: 8.969 kB / 0.5116 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4938, allocations: 4 kB / 0.5116 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.4938, allocations: 3.531 kB / 0.5116 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.4939, allocations: 16 kB / 0.5116 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4939, allocations: 4.062 kB / 0.5116 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.4939, allocations: 6.047 kB / 0.5116 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4939, allocations: 6.672 kB / 0.5116 GB, free: 15.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.636e-05/0.494, allocations: 120 kB / 0.5117 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.4941, allocations: 11.34 kB / 0.5117 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.4943, allocations: 110.1 kB / 0.5118 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4943, allocations: 6.016 kB / 0.5118 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4943, allocations: 0 / 0.5118 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4943, allocations: 4 kB / 0.5118 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.4945, allocations: 186.3 kB / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4945, allocations: 2.969 kB / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.4946, allocations: 13.67 kB / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4946, allocations: 1.781 kB / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4946, allocations: 2.844 kB / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4946, allocations: 0 / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4946, allocations: 0 / 0.512 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.4949, allocations: 164.3 kB / 0.5122 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.212e-05/0.495, allocations: 96.42 kB / 0.5123 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.495, allocations: 2.875 kB / 0.5123 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.16e-05/0.495, allocations: 5.531 kB / 0.5123 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.4951, allocations: 2.938 kB / 0.5123 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.4951, allocations: 6.188 kB / 0.5123 GB, free: 14.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.313e-05/0.4952, allocations: 113.5 kB / 0.5124 GB, free: 14.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4952, allocations: 4.062 kB / 0.5124 GB, free: 14.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.4959, allocations: 203 kB / 0.5126 GB, free: 14.65 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.4972, allocations: 0.5159 MB / 0.5131 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001801/0.4974, allocations: 66.75 kB / 0.5132 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4974, allocations: 0 / 0.5132 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.779e-05/0.4975, allocations: 38.38 kB / 0.5132 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.4977, allocations: 31.23 kB / 0.5132 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.4982, allocations: 364.2 kB / 0.5136 GB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.4985, allocations: 0.688 MB / 0.5143 GB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.4985, allocations: 18.3 kB / 0.5143 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.4986, allocations: 17.88 kB / 0.5143 GB, free: 13.51 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4986, allocations: 0 / 0.5143 GB, free: 13.51 MB / 394.7 MB Notification: Performance of Templates: time 0.01002/0.5086, allocations: 5.915 MB / 0.5201 GB, free: 12.69 MB / 394.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