Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.08119, allocations: 44.5 MB / 308.3 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001508/0.08274, allocations: 1.031 MB / 309.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.382/0.4647, allocations: 127.1 MB / 436.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.832e-05/0.4648, allocations: 0 / 436.4 MB, free: 9.676 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.4649, allocations: 4.781 kB / 436.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008324/0.4657, allocations: 200.7 kB / 436.6 MB, free: 9.516 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.4673, allocations: 476 kB / 437.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.4674, allocations: 33.31 kB / 437.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.4674, allocations: 3.188 kB / 437.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.4675, allocations: 26.09 kB / 437.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.4676, allocations: 29.03 kB / 437.2 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.4676, allocations: 0 / 437.2 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.4691, allocations: 0.6395 MB / 437.8 MB, free: 8.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.4691, allocations: 22.78 kB / 437.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.4692, allocations: 30.2 kB / 437.9 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007065/0.4699, allocations: 351.6 kB / 438.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.703e-06/0.4699, allocations: 2.781 kB / 438.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.288e-06/0.4699, allocations: 0 / 438.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.783e-06/0.4699, allocations: 0 / 438.2 MB, free: 8.656 MB / 330.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.0006246/0.4706, allocations: 431.1 kB / 438.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4706, allocations: 7.125 kB / 438.7 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.4718, allocations: 103 kB / 438.8 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.4722, allocations: 214.3 kB / 439 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.4722, allocations: 0 / 439 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.4723, allocations: 6.938 kB / 439 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.4725, allocations: 101.8 kB / 439.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.069e-06/0.4726, allocations: 0 / 439.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.4726, allocations: 0 / 439.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.771e-06/0.4726, allocations: 1.969 kB / 439.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.4728, allocations: 45.23 kB / 439.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.4732, allocations: 205 kB / 439.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.4737, allocations: 123.5 kB / 439.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008844/0.4746, allocations: 0.9731 MB / 440.4 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.4747, allocations: 38.55 kB / 440.5 MB, free: 6.297 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.33e-06/0.4747, allocations: 3.938 kB / 440.5 MB, free: 6.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005883/0.4753, allocations: 133.3 kB / 440.6 MB, free: 6.207 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4754, allocations: 81.05 kB / 440.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.4757, allocations: 155.5 kB / 440.8 MB, free: 5.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4757, allocations: 25.7 kB / 440.9 MB, free: 5.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.4758, allocations: 150.6 kB / 441 MB, free: 5.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.4759, allocations: 30.41 kB / 441 MB, free: 5.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.367e-05/0.4759, allocations: 4 kB / 441 MB, free: 5.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4761, allocations: 317.4 kB / 441.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4762, allocations: 29.16 kB / 441.4 MB, free: 5.438 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4764, allocations: 50.25 kB / 441.4 MB, free: 5.391 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.4766, allocations: 31.95 kB / 441.5 MB, free: 5.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.4766, allocations: 0 / 441.5 MB, free: 5.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000414/0.477, allocations: 121.5 kB / 441.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.477, allocations: 5.406 kB / 441.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.477, allocations: 3.984 kB / 441.6 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4771, allocations: 2.031 kB / 441.6 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4772, allocations: 27.91 kB / 441.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.256e-06/0.4773, allocations: 0 / 441.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.4775, allocations: 5.438 kB / 441.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.4775, allocations: 9.891 kB / 441.6 MB, free: 5.27 MB / 330.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 0.0001166/0.4777, allocations: 120.8 kB / 441.7 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4777, allocations: 6.719 kB / 441.7 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.4784, allocations: 242.9 kB / 442 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.123e-06/0.4784, allocations: 4 kB / 442 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4785, allocations: 2.625 kB / 442 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4785, allocations: 0.5 kB / 442 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.4788, allocations: 221.8 kB / 442.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.543e-06/0.4788, allocations: 0 / 442.2 MB, free: 4.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.479, allocations: 22.72 kB / 442.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.594e-06/0.479, allocations: 6.719 kB / 442.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.4791, allocations: 0 / 442.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.789e-06/0.4791, allocations: 0 / 442.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.4791, allocations: 2.625 kB / 442.2 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.4797, allocations: 181.3 kB / 442.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.4798, allocations: 90.31 kB / 442.5 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.4799, allocations: 6.891 kB / 442.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.4801, allocations: 6.531 kB / 442.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.4801, allocations: 5.641 kB / 442.5 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.4801, allocations: 7.281 kB / 442.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.4804, allocations: 129.7 kB / 442.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4804, allocations: 3.938 kB / 442.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000663/0.4811, allocations: 169.1 kB / 442.8 MB, free: 4.32 MB / 330.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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001009/0.4821, allocations: 376.5 kB / 443.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.4825, allocations: 75.88 kB / 443.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.318e-06/0.4825, allocations: 0 / 443.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.4827, allocations: 43.84 kB / 443.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.4829, allocations: 22.31 kB / 443.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.4837, allocations: 397 kB / 443.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4841, allocations: 0.6926 MB / 444.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.4843, allocations: 39.39 kB / 444.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of SimCode: time 1.454e-06/0.4843, allocations: 4 kB / 444.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of Templates: time 0.01025/0.4946, allocations: 4.939 MB / 449.4 MB, free: 13.74 MB / 346.7 MB