Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.312/2.312, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.937e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.4534, allocations: 83.36 MB / 447.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.4537, allocations: 60.56 kB / 448 MB, free: 13.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05934/0.513, allocations: 12.92 MB / 460.9 MB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.267e-06/0.5131, allocations: 0 / 460.9 MB, free: 144 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.979e-06/0.5131, allocations: 0.9375 kB / 460.9 MB, free: 144 kB / 378.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.0006558/0.5138, allocations: 451.9 kB / 461.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5138, allocations: 8.031 kB / 461.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.5139, allocations: 83.23 kB / 461.4 MB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.5141, allocations: 238.3 kB / 461.6 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.5142, allocations: 154.6 kB / 461.8 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.247e-05/0.5142, allocations: 154.6 kB / 461.9 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.5143, allocations: 101 kB / 462 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.5144, allocations: 75.28 kB / 462.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5145, allocations: 158.5 kB / 462.3 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-05/0.5146, allocations: 155.4 kB / 462.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.5147, allocations: 150.6 kB / 462.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.515, allocations: 446 kB / 463 MB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5151, allocations: 173.1 kB / 463.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.5152, allocations: 80.14 kB / 463.3 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.5153, allocations: 79.22 kB / 463.3 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.682e-05/0.5153, allocations: 139.5 kB / 463.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.406e-06/0.5154, allocations: 0 / 463.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.41e-05/0.5155, allocations: 28.92 kB / 463.5 MB, free: 13.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.543e-05/0.5156, allocations: 157 kB / 463.6 MB, free: 13.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.534e-05/0.5156, allocations: 85 kB / 463.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.5157, allocations: 29.7 kB / 463.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.5157, allocations: 154.6 kB / 463.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5158, allocations: 0 / 463.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-06/0.5158, allocations: 0 / 463.9 MB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.5159, allocations: 319.8 kB / 464.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.65e-06/0.5159, allocations: 0 / 464.2 MB, free: 12.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.516, allocations: 7.938 kB / 464.2 MB, free: 12.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.516, allocations: 83.3 kB / 464.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/0.5161, allocations: 75.28 kB / 464.4 MB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.225e-05/0.5162, allocations: 33.7 kB / 464.4 MB, free: 12.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.5162, allocations: 81.16 kB / 464.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/0.5163, allocations: 75.28 kB / 464.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.661e-05/0.5164, allocations: 154.5 kB / 464.7 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.5164, allocations: 79.28 kB / 464.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.579e-05/0.5165, allocations: 162.5 kB / 465 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.5166, allocations: 76.69 kB / 465 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.5167, allocations: 79.27 kB / 465.1 MB, free: 11.67 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 () * 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.0001582/0.5169, allocations: 267.4 kB / 465.4 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.248e-05/0.517, allocations: 101 kB / 465.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.517, allocations: 112.1 kB / 465.6 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-05/0.5171, allocations: 180.2 kB / 465.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-05/0.5172, allocations: 180.2 kB / 465.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.843e-05/0.5173, allocations: 180.2 kB / 466.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.5176, allocations: 405.2 kB / 466.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/0.5177, allocations: 105 kB / 466.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.5178, allocations: 108.9 kB / 466.7 MB, free: 9.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.045e-05/0.5179, allocations: 184.3 kB / 466.9 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.871e-05/0.518, allocations: 180.2 kB / 467.1 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-05/0.5181, allocations: 176.3 kB / 467.2 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.749e-05/0.5182, allocations: 180.3 kB / 467.4 MB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.5184, allocations: 315.6 kB / 467.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5185, allocations: 186 kB / 467.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.5186, allocations: 180.7 kB / 468.1 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5187, allocations: 101 kB / 468.2 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5188, allocations: 196.2 kB / 468.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.5189, allocations: 101 kB / 468.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.355e-05/0.519, allocations: 79.3 kB / 468.6 MB, free: 8 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.519, allocations: 0 / 468.6 MB, free: 8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008732/0.5198, allocations: 171.7 kB / 468.7 MB, free: 7.832 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 () * 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.001099/0.521, allocations: 453.7 kB / 469.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.762e-05/0.521, allocations: 4 kB / 469.2 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.521, allocations: 0 / 469.2 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.687e-06/0.5211, allocations: 0 / 469.2 MB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.5214, allocations: 0.5232 MB / 469.7 MB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001638/0.5216, allocations: 158.4 kB / 469.8 MB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.522, allocations: 0.6692 MB / 470.5 MB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.522, allocations: 11.44 kB / 470.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of SimCode: time 1.538e-06/0.522, allocations: 0 / 470.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of Templates: time 0.006762/0.5288, allocations: 2.852 MB / 473.4 MB, free: 3.117 MB / 394.7 MB