Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.664/1.664, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005485, allocations: 11.98 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1038, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002354/0.1062, allocations: 1.034 MB / 273.7 MB, free: 10.5 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.4538/0.5601, allocations: 127 MB / 400.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.5602, allocations: 4 kB / 400.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.8e-05/0.5602, allocations: 7.938 kB / 400.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009632/0.5612, allocations: 195.4 kB / 400.9 MB, free: 14.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.5631, allocations: 479.4 kB / 401.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.979e-05/0.5633, allocations: 39.92 kB / 401.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.507e-05/0.5633, allocations: 4 kB / 401.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.5634, allocations: 23.92 kB / 401.4 MB, free: 14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.5635, allocations: 27.91 kB / 401.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.5635, allocations: 0 / 401.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.5655, allocations: 0.6403 MB / 402.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.5656, allocations: 11.98 kB / 402.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.5656, allocations: 33.64 kB / 402.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.5666, allocations: 354.9 kB / 402.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5667, allocations: 0 / 402.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5667, allocations: 0 / 402.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.5667, allocations: 0 / 402.5 MB, free: 12.95 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.0007067/0.5674, allocations: 438.9 kB / 402.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.5675, allocations: 8.031 kB / 402.9 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.5694, allocations: 91.86 kB / 403 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.5699, allocations: 215.4 kB / 403.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5699, allocations: 0 / 403.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.57, allocations: 11.91 kB / 403.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.5704, allocations: 99.19 kB / 403.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5704, allocations: 4 kB / 403.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.5705, allocations: 0.5625 kB / 403.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.5705, allocations: 4 kB / 403.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.5709, allocations: 39.95 kB / 403.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.5713, allocations: 210.9 kB / 403.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.5723, allocations: 125.2 kB / 403.7 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/0.5734, allocations: 0.9739 MB / 404.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.5734, allocations: 42.48 kB / 404.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.817e-06/0.5735, allocations: 0 / 404.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009762/0.5744, allocations: 122 kB / 404.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.5745, allocations: 85.03 kB / 404.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.575, allocations: 158.4 kB / 405.1 MB, free: 9.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.5751, allocations: 25.7 kB / 405.1 MB, free: 9.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.5751, allocations: 84.14 kB / 405.2 MB, free: 9.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.5752, allocations: 23.64 kB / 405.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.5753, allocations: 7.938 kB / 405.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5754, allocations: 314.8 kB / 405.5 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.5757, allocations: 27.97 kB / 405.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.576, allocations: 55.72 kB / 405.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.5762, allocations: 31.97 kB / 405.6 MB, free: 9.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.5763, allocations: 0 / 405.6 MB, free: 9.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007667/0.577, allocations: 130.9 kB / 405.8 MB, free: 9.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5771, allocations: 4 kB / 405.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.5771, allocations: 8.062 kB / 405.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5771, allocations: 0 / 405.8 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003237/0.5775, allocations: 23.97 kB / 405.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5775, allocations: 160 / 405.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.5779, allocations: 8 kB / 405.8 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.578, allocations: 11.97 kB / 405.8 MB, free: 9.137 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.0001539/0.5782, allocations: 113.8 kB / 405.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.716e-05/0.5783, allocations: 11.86 kB / 406 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.5795, allocations: 237.2 kB / 406.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5795, allocations: 4 kB / 406.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5796, allocations: 0 / 406.2 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.5797, allocations: 96.31 kB / 406.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.5798, allocations: 4 kB / 406.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.5803, allocations: 15.97 kB / 406.3 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.5804, allocations: 7.984 kB / 406.3 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001212/0.5817, allocations: 284.1 kB / 406.6 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001098/0.5828, allocations: 401.9 kB / 407 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00027/0.5831, allocations: 36 kB / 407 MB, free: 7.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003793/0.5835, allocations: 127.2 kB / 407.1 MB, free: 7.766 MB / 330.7 MB Notification: Performance of Backend: time 1.052e-06/0.5835, allocations: 4 kB / 407.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.586, allocations: 407.3 kB / 407.5 MB, free: 7.367 MB / 330.7 MB Notification: Performance of SimCode: time 0.001481/0.5875, allocations: 0.8156 MB / 408.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of Templates: time 0.02153/0.609, allocations: 6.034 MB / 414.4 MB, free: 480 kB / 330.7 MB