Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07937, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3314/0.4108, allocations: 74.69 MB / 383.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.411, allocations: 86.72 kB / 383.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.4315, allocations: 5.559 MB / 388.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.4315, allocations: 0 / 388.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.4316, allocations: 3.875 kB / 388.8 MB, free: 18.06 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009287/0.4325, allocations: 0.6001 MB / 389.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.4325, allocations: 7.75 kB / 389.4 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.4326, allocations: 35.22 kB / 389.4 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.433, allocations: 273.3 kB / 389.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.433, allocations: 15.12 kB / 389.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.4331, allocations: 22.44 kB / 389.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.4337, allocations: 252.3 kB / 390 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.4337, allocations: 0 / 390 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.4338, allocations: 11.25 kB / 390 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4338, allocations: 3.969 kB / 390 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.4345, allocations: 246.1 kB / 390.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.4362, allocations: 0.9222 MB / 391.2 MB, free: 16.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.437, allocations: 317.2 kB / 391.5 MB, free: 16.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.437, allocations: 4 kB / 391.5 MB, free: 16.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.4375, allocations: 186.5 kB / 391.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.481e-06/0.4375, allocations: 0 / 391.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001846/0.4394, allocations: 0.5256 MB / 392.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.4394, allocations: 106.7 kB / 392.3 MB, free: 16.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4397, allocations: 238.8 kB / 392.5 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4397, allocations: 32.95 kB / 392.6 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.4398, allocations: 229.4 kB / 392.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.4399, allocations: 60.98 kB / 392.8 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.664e-05/0.4399, allocations: 3.938 kB / 392.8 MB, free: 16.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.164e-05/0.44, allocations: 324.4 kB / 393.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003268/0.4403, allocations: 102.2 kB / 393.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.4407, allocations: 172.3 kB / 393.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.441, allocations: 136.6 kB / 393.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.578e-06/0.4411, allocations: 4 kB / 393.6 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001108/0.4422, allocations: 400.7 kB / 394 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.4422, allocations: 34.73 kB / 394 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.368e-06/0.4422, allocations: 3.969 kB / 394 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.4427, allocations: 76.38 kB / 394.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.443, allocations: 67.86 kB / 394.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.4449, allocations: 1.492 MB / 395.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.4453, allocations: 59.31 kB / 395.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.4454, allocations: 11.73 kB / 395.7 MB, free: 14.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.4455, allocations: 146.7 kB / 395.8 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.4456, allocations: 23.34 kB / 395.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.4457, allocations: 24.09 kB / 395.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.673e-06/0.4457, allocations: 3.844 kB / 395.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-06/0.4457, allocations: 0 / 395.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.361e-06/0.4457, allocations: 0 / 395.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.4472, allocations: 0.7119 MB / 396.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.734e-06/0.4473, allocations: 4.031 kB / 396.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.4476, allocations: 52.94 kB / 396.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.448, allocations: 78.41 kB / 396.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4481, allocations: 3.938 kB / 396.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.4499, allocations: 1.496 MB / 398.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.204e-06/0.45, allocations: 3.906 kB / 398.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.4515, allocations: 0.53 MB / 398.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.4516, allocations: 103.3 kB / 398.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.4516, allocations: 6.219 kB / 398.9 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.452, allocations: 39.27 kB / 398.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.4521, allocations: 23.28 kB / 398.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.4522, allocations: 3.875 kB / 398.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.4524, allocations: 192.3 kB / 399.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.4524, allocations: 0 / 399.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004956/0.4529, allocations: 77.03 kB / 399.2 MB, free: 11.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001319/0.453, allocations: 109.9 kB / 399.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.454, allocations: 412 kB / 399.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.454, allocations: 0 / 399.7 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004239/0.4544, allocations: 236.1 kB / 399.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.4548, allocations: 39.73 kB / 400 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.4559, allocations: 0.6584 MB / 400.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.4561, allocations: 0.7599 MB / 401.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.389e-05/0.4562, allocations: 23 kB / 401.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.314e-06/0.4562, allocations: 0 / 401.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of Templates: time 0.006694/0.4629, allocations: 4.26 MB / 405.7 MB, free: 10.12 MB / 314.7 MB