Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09083, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001781/0.09266, allocations: 1.043 MB / 310.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.4877/0.5804, allocations: 127.4 MB / 437.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.5805, allocations: 0 / 437.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 5.072e-05/0.5806, allocations: 3.984 kB / 437.5 MB, free: 9.164 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.5818, allocations: 260.1 kB / 437.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.5841, allocations: 0.5685 MB / 438.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.5842, allocations: 47.17 kB / 438.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.5843, allocations: 3.984 kB / 438.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.5844, allocations: 43.91 kB / 438.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.227e-05/0.5845, allocations: 28.69 kB / 438.4 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.5845, allocations: 5.75 kB / 438.5 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.5875, allocations: 1.039 MB / 439.5 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.5876, allocations: 11.58 kB / 439.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.5876, allocations: 39.05 kB / 439.5 MB, free: 8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.589, allocations: 0.4924 MB / 440 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.589, allocations: 0 / 440 MB, free: 7.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5891, allocations: 0 / 440 MB, free: 7.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.5891, allocations: 2.531 kB / 440 MB, free: 7.762 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.0007654/0.5898, allocations: 463 kB / 440.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5899, allocations: 7.375 kB / 440.5 MB, free: 7.312 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.5903, allocations: 38.78 kB / 440.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.5905, allocations: 200.5 kB / 440.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.5906, allocations: 4 kB / 440.7 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.5906, allocations: 6.812 kB / 440.7 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.5908, allocations: 75.94 kB / 440.8 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5908, allocations: 3.938 kB / 440.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5909, allocations: 4 kB / 440.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5909, allocations: 2.656 kB / 440.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.591, allocations: 40.17 kB / 440.9 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.5914, allocations: 193.9 kB / 441.1 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.5919, allocations: 111.7 kB / 441.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.5919, allocations: 20.14 kB / 441.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.592, allocations: 30.56 kB / 441.2 MB, free: 6.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.325e-06/0.592, allocations: 4 kB / 441.2 MB, free: 6.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005125/0.5925, allocations: 121.5 kB / 441.3 MB, free: 6.492 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.5926, allocations: 77.11 kB / 441.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.5928, allocations: 141.8 kB / 441.5 MB, free: 6.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.5928, allocations: 29.7 kB / 441.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.5929, allocations: 88.12 kB / 441.7 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.5929, allocations: 27.64 kB / 441.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.5929, allocations: 0 / 441.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5931, allocations: 326.8 kB / 442 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.5932, allocations: 27.92 kB / 442 MB, free: 5.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.5933, allocations: 47.42 kB / 442.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.5935, allocations: 27.98 kB / 442.1 MB, free: 5.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5935, allocations: 0 / 442.1 MB, free: 5.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000372/0.5939, allocations: 105.6 kB / 442.2 MB, free: 5.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.5939, allocations: 8 kB / 442.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5939, allocations: 0 / 442.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.594, allocations: 0 / 442.2 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.5941, allocations: 23.94 kB / 442.2 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5941, allocations: 3.984 kB / 442.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.368e-05/0.5942, allocations: 15.78 kB / 442.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5942, allocations: 0 / 442.3 MB, free: 5.496 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.000102/0.5943, allocations: 121.9 kB / 442.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.5944, allocations: 4.469 kB / 442.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.5948, allocations: 121.8 kB / 442.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5948, allocations: 0 / 442.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5948, allocations: 0 / 442.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.5949, allocations: 85.09 kB / 442.6 MB, free: 5.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.595, allocations: 4 kB / 442.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.5951, allocations: 7.953 kB / 442.6 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.5951, allocations: 11.98 kB / 442.6 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006881/0.5958, allocations: 264 kB / 442.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006007/0.5964, allocations: 386.8 kB / 443.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001231/0.5966, allocations: 24.02 kB / 443.3 MB, free: 4.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.5967, allocations: 119.2 kB / 443.4 MB, free: 4.312 MB / 330.7 MB Notification: Performance of Backend: time 7.82e-07/0.5967, allocations: 0 / 443.4 MB, free: 4.312 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.5988, allocations: 475 kB / 443.8 MB, free: 3.852 MB / 330.7 MB Notification: Performance of SimCode: time 0.001127/0.6, allocations: 0.8224 MB / 444.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of Templates: time 0.01643/0.6164, allocations: 6.04 MB / 450.7 MB, free: 12.95 MB / 346.7 MB