Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Math.TestNonlinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="//possible continuous states|//possible discrete states",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestNonlinear") Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 234.9 MB / 251.1 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004554, allocations: 12 kB / 314.9 MB, free: 9.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3905, allocations: 54.86 MB / 369.8 MB, free: 12.81 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.549, allocations: 83.44 MB / 453.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5493, allocations: 71.84 kB / 453.3 MB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06707/0.6164, allocations: 12.95 MB / 466.3 MB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6164, allocations: 7.875 kB / 466.3 MB, free: 12.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.6165, allocations: 4 kB / 466.3 MB, free: 12.2 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007954/0.6173, allocations: 454.5 kB / 466.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6173, allocations: 8.031 kB / 466.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.6174, allocations: 79.23 kB / 466.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.6176, allocations: 238.3 kB / 467 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.6176, allocations: 158.5 kB / 467.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-05/0.6177, allocations: 150.6 kB / 467.3 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/0.6178, allocations: 105 kB / 467.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.6179, allocations: 75.28 kB / 467.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.618, allocations: 154.6 kB / 467.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.547e-05/0.618, allocations: 150.6 kB / 467.8 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.6181, allocations: 162.5 kB / 468 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.6185, allocations: 442 kB / 468.4 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.6187, allocations: 169.1 kB / 468.6 MB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.6187, allocations: 79.27 kB / 468.6 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.099e-05/0.6188, allocations: 135.5 kB / 468.8 MB, free: 9.508 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.424e-06/0.6188, allocations: 3.938 kB / 468.8 MB, free: 9.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 9.509e-05/0.6189, allocations: 29.7 kB / 468.8 MB, free: 9.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/0.619, allocations: 152.4 kB / 468.9 MB, free: 9.301 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.857e-05/0.6191, allocations: 89.86 kB / 469 MB, free: 9.203 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.6191, allocations: 25.7 kB / 469.1 MB, free: 9.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.6192, allocations: 158.5 kB / 469.2 MB, free: 9.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.6192, allocations: 0 / 469.2 MB, free: 9.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-07/0.6192, allocations: 0 / 469.2 MB, free: 9.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6194, allocations: 318.8 kB / 469.5 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-06/0.6194, allocations: 4 kB / 469.5 MB, free: 8.691 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.6195, allocations: 4.047 kB / 469.5 MB, free: 8.688 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.55e-05/0.6195, allocations: 79.28 kB / 469.6 MB, free: 8.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/0.6196, allocations: 75.28 kB / 469.7 MB, free: 8.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.12e-05/0.6197, allocations: 33.62 kB / 469.7 MB, free: 8.496 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.6197, allocations: 83.28 kB / 469.8 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/0.6198, allocations: 75.28 kB / 469.9 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-05/0.6199, allocations: 158.5 kB / 470 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.736e-05/0.6199, allocations: 75.28 kB / 470.1 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.136e-05/0.62, allocations: 154.6 kB / 470.3 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6201, allocations: 79.22 kB / 470.3 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.6201, allocations: 83.27 kB / 470.4 MB, free: 7.797 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001616/0.6203, allocations: 268.4 kB / 470.7 MB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.6204, allocations: 104.9 kB / 470.8 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.6205, allocations: 111.9 kB / 470.9 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.329e-05/0.6206, allocations: 176.3 kB / 471.1 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.47e-05/0.6207, allocations: 192.1 kB / 471.2 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-05/0.6207, allocations: 180.2 kB / 471.4 MB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.621, allocations: 410.5 kB / 471.8 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.783e-05/0.6211, allocations: 101 kB / 471.9 MB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.6212, allocations: 108.9 kB / 472 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.6213, allocations: 180.3 kB / 472.2 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.599e-05/0.6213, allocations: 188.3 kB / 472.4 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.502e-05/0.6214, allocations: 180.2 kB / 472.6 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-05/0.6215, allocations: 184.2 kB / 472.7 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.6217, allocations: 311.7 kB / 473 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.6218, allocations: 182.1 kB / 473.2 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.6219, allocations: 180.2 kB / 473.4 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.6221, allocations: 105.4 kB / 473.5 MB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.6222, allocations: 188.2 kB / 473.7 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.6222, allocations: 101 kB / 473.8 MB, free: 4.191 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.6223, allocations: 79.33 kB / 473.9 MB, free: 4.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6223, allocations: 0 / 473.9 MB, free: 4.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001006/0.6233, allocations: 171.7 kB / 474 MB, free: 3.945 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001353/0.6247, allocations: 454.8 kB / 474.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.081e-05/0.6248, allocations: 0 / 474.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6248, allocations: 0 / 474.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-06/0.6248, allocations: 7.938 kB / 474.5 MB, free: 3.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.6252, allocations: 0.5263 MB / 475 MB, free: 2.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.6254, allocations: 175.7 kB / 475.2 MB, free: 2.762 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.6257, allocations: 0.6692 MB / 475.8 MB, free: 2.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.6257, allocations: 11.44 kB / 475.9 MB, free: 2.055 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6257, allocations: 0 / 475.9 MB, free: 2.055 MB / 394.7 MB Notification: Performance of Templates: time 0.008896/0.6347, allocations: 2.89 MB / 478.8 MB, free: 15.16 MB / 410.7 MB