Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.719/1.719, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003479, allocations: 8 kB / 233.2 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06797/0.06834, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001495/0.06988, allocations: 1.031 MB / 273 MB, free: 11.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.3573/0.4272, allocations: 127 MB / 400 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.4273, allocations: 0 / 400 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.4273, allocations: 3.984 kB / 400 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009124/0.4282, allocations: 195.4 kB / 400.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.4299, allocations: 474.8 kB / 400.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.104e-05/0.4301, allocations: 43.88 kB / 400.7 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.4301, allocations: 3.984 kB / 400.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.4302, allocations: 24.67 kB / 400.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.4303, allocations: 27.91 kB / 400.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.4303, allocations: 4 kB / 400.8 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.432, allocations: 0.6403 MB / 401.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.4321, allocations: 7.969 kB / 401.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.4321, allocations: 33.7 kB / 401.4 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007979/0.433, allocations: 353.7 kB / 401.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.01e-06/0.433, allocations: 0 / 401.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.421e-06/0.433, allocations: 7.875 kB / 401.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.433, allocations: 0 / 401.8 MB, free: 13.36 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.0006443/0.4337, allocations: 431.1 kB / 402.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.4337, allocations: 8.031 kB / 402.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.4349, allocations: 95.86 kB / 402.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.4353, allocations: 223.4 kB / 402.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.4354, allocations: 0 / 402.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.4354, allocations: 11.84 kB / 402.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.4357, allocations: 87.33 kB / 402.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.812e-06/0.4357, allocations: 4 kB / 402.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.4357, allocations: 0 / 402.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-06/0.4358, allocations: 4 kB / 402.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.436, allocations: 47.89 kB / 402.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.4364, allocations: 210.9 kB / 402.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005953/0.437, allocations: 129.1 kB / 403 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/0.4379, allocations: 0.9778 MB / 404 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4379, allocations: 30.56 kB / 404 MB, free: 10.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.778e-06/0.438, allocations: 0 / 404 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006282/0.4386, allocations: 133.5 kB / 404.1 MB, free: 10.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.4387, allocations: 81.11 kB / 404.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.439, allocations: 149.8 kB / 404.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.439, allocations: 29.7 kB / 404.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.4391, allocations: 150.6 kB / 404.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.4392, allocations: 31.62 kB / 404.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.4392, allocations: 0 / 404.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4394, allocations: 310.8 kB / 404.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.4395, allocations: 31.97 kB / 404.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.4397, allocations: 55.34 kB / 405 MB, free: 9.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.4399, allocations: 27.98 kB / 405 MB, free: 9.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-06/0.4399, allocations: 0 / 405 MB, free: 9.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004276/0.4403, allocations: 129.4 kB / 405.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.4404, allocations: 8 kB / 405.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.289e-06/0.4404, allocations: 0.5469 kB / 405.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4404, allocations: 0 / 405.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.4406, allocations: 27.91 kB / 405.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.4406, allocations: 0 / 405.2 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.4408, allocations: 8 kB / 405.2 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.4409, allocations: 7.984 kB / 405.2 MB, free: 9.5 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.0001215/0.441, allocations: 117.9 kB / 405.3 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.4411, allocations: 11.86 kB / 405.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.4418, allocations: 237.9 kB / 405.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4418, allocations: 0 / 405.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4419, allocations: 11.88 kB / 405.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.513e-06/0.4419, allocations: 0 / 405.5 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.4422, allocations: 211 kB / 405.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4422, allocations: 4.812 kB / 405.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.4424, allocations: 32.44 kB / 405.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.4424, allocations: 0 / 405.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4425, allocations: 0 / 405.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.4425, allocations: 4 kB / 405.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.3e-06/0.4425, allocations: 0 / 405.8 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.4431, allocations: 181.4 kB / 406 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4432, allocations: 101 kB / 406.1 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.4432, allocations: 3.953 kB / 406.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.4434, allocations: 4 kB / 406.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.4435, allocations: 7.984 kB / 406.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.4435, allocations: 4 kB / 406.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002389/0.4438, allocations: 139.4 kB / 406.2 MB, free: 8.348 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4438, allocations: 0 / 406.2 MB, free: 8.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007013/0.4445, allocations: 167.9 kB / 406.4 MB, free: 8.184 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.001063/0.4456, allocations: 379.1 kB / 406.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003628/0.446, allocations: 79.86 kB / 406.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.224e-06/0.446, allocations: 0 / 406.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.4462, allocations: 43.91 kB / 406.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.4464, allocations: 11.94 kB / 406.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007782/0.4472, allocations: 394.5 kB / 407.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4476, allocations: 0.6926 MB / 408 MB, free: 6.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.4478, allocations: 43.39 kB / 408 MB, free: 6.504 MB / 330.7 MB Notification: Performance of SimCode: time 1.682e-06/0.4478, allocations: 0 / 408 MB, free: 6.504 MB / 330.7 MB Notification: Performance of Templates: time 0.0105/0.4583, allocations: 4.945 MB / 413 MB, free: 1.551 MB / 330.7 MB