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.0009982/0.0009982, allocations: 187 kB / 17.92 MB, free: 3.855 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.21/1.21, allocations: 205.1 MB / 223.8 MB, free: 8.473 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.0008756/0.0008759, allocations: 99.66 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008825/0.0008825, allocations: 35.94 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1808, allocations: 46.63 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001986/0.1828, allocations: 1.423 MB / 375.2 MB, free: 44.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2871/0.4699, allocations: 148.5 MB / 0.5115 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.47, allocations: 1.203 kB / 0.5115 GB, free: 13.14 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.4701, allocations: 7.734 kB / 0.5115 GB, free: 13.13 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008771/0.4709, allocations: 313.7 kB / 0.5118 GB, free: 13.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.4724, allocations: 0.6977 MB / 0.5125 GB, free: 12.97 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.4725, allocations: 96.52 kB / 0.5126 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.913e-05/0.4725, allocations: 4.781 kB / 0.5126 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.4725, allocations: 30.06 kB / 0.5126 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.414e-05/0.4726, allocations: 38.5 kB / 0.5127 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4726, allocations: 6.156 kB / 0.5127 GB, free: 12.95 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.4748, allocations: 1.526 MB / 0.5142 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.4748, allocations: 15.48 kB / 0.5142 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.4749, allocations: 26.61 kB / 0.5142 GB, free: 12.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.476, allocations: 0.9283 MB / 0.5151 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.4761, allocations: 0 / 0.5151 GB, free: 12.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.4761, allocations: 4.781 kB / 0.5151 GB, free: 12.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.4761, allocations: 0 / 0.5151 GB, free: 12.75 MB / 394.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.0005412/0.4766, allocations: 478.2 kB / 0.5156 GB, free: 12.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.4767, allocations: 9.75 kB / 0.5156 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.4769, allocations: 41.36 kB / 0.5156 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4771, allocations: 202.7 kB / 0.5158 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4771, allocations: 4.562 kB / 0.5158 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.4771, allocations: 5.688 kB / 0.5158 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4773, allocations: 77.23 kB / 0.5159 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4773, allocations: 0 / 0.5159 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.4773, allocations: 0.9062 kB / 0.5159 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.4773, allocations: 2.016 kB / 0.5159 GB, free: 12.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.4775, allocations: 44.11 kB / 0.5159 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.4776, allocations: 190.6 kB / 0.5161 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.4779, allocations: 119.6 kB / 0.5162 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.478, allocations: 40.27 kB / 0.5163 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/0.4785, allocations: 139.3 kB / 0.5164 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.4786, allocations: 32.12 kB / 0.5164 GB, free: 11.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4786, allocations: 0 / 0.5164 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003219/0.4789, allocations: 122.2 kB / 0.5165 GB, free: 11.61 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.4789, allocations: 82.55 kB / 0.5166 GB, free: 11.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4791, allocations: 141.6 kB / 0.5168 GB, free: 11.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.4791, allocations: 26.36 kB / 0.5168 GB, free: 11.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.4791, allocations: 85.17 kB / 0.5169 GB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.4792, allocations: 26.89 kB / 0.5169 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.4792, allocations: 25.77 kB / 0.5169 GB, free: 11.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.4793, allocations: 319.8 kB / 0.5172 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.819e-05/0.4794, allocations: 29.67 kB / 0.5172 GB, free: 10.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.4794, allocations: 46.67 kB / 0.5173 GB, free: 10.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.4796, allocations: 85.36 kB / 0.5174 GB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4796, allocations: 1.203 kB / 0.5174 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002388/0.4799, allocations: 114.8 kB / 0.5175 GB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4799, allocations: 5.156 kB / 0.5175 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.4799, allocations: 1 kB / 0.5175 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4799, allocations: 4.625 kB / 0.5175 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.288e-05/0.48, allocations: 12.91 kB / 0.5175 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.48, allocations: 3.156 kB / 0.5175 GB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.48, allocations: 6.25 kB / 0.5175 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.48, allocations: 3.812 kB / 0.5175 GB, free: 10.82 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 6.558e-05/0.4801, allocations: 123.6 kB / 0.5176 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.4802, allocations: 10.66 kB / 0.5176 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.4804, allocations: 115.9 kB / 0.5178 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.4804, allocations: 1.875 kB / 0.5178 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4804, allocations: 0.75 kB / 0.5178 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4804, allocations: 4.734 kB / 0.5178 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.4806, allocations: 188.9 kB / 0.5179 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4806, allocations: 0.5938 kB / 0.5179 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-05/0.4807, allocations: 17.86 kB / 0.518 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4807, allocations: 0.75 kB / 0.518 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.4807, allocations: 2.438 kB / 0.518 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4807, allocations: 4.141 kB / 0.518 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4807, allocations: 1.891 kB / 0.518 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4818, allocations: 1.048 MB / 0.519 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.4818, allocations: 86.08 kB / 0.5191 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4819, allocations: 3.266 kB / 0.5191 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.4819, allocations: 5.969 kB / 0.5191 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.4819, allocations: 9.516 kB / 0.5191 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.482, allocations: 5.906 kB / 0.5191 GB, free: 9.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.482, allocations: 112.5 kB / 0.5192 GB, free: 9.344 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.482, allocations: 1.094 kB / 0.5192 GB, free: 9.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006554/0.4827, allocations: 218.5 kB / 0.5194 GB, free: 9.305 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.001133/0.4838, allocations: 0.5084 MB / 0.5199 GB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.484, allocations: 68.58 kB / 0.52 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.484, allocations: 0 / 0.52 GB, free: 9.129 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-05/0.4841, allocations: 35.5 kB / 0.52 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.4844, allocations: 20.31 kB / 0.52 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.4849, allocations: 438 kB / 0.5204 GB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4851, allocations: 0.6892 MB / 0.5211 GB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.4852, allocations: 27.28 kB / 0.5211 GB, free: 8.062 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.4852, allocations: 14.84 kB / 0.5212 GB, free: 8.055 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4853, allocations: 0 / 0.5212 GB, free: 8.055 MB / 394.7 MB Notification: Performance of Templates: time 0.008569/0.4938, allocations: 5.992 MB / 0.527 GB, free: 5.484 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@2/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