Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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) 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_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadModel(Modelica): time 2.207/2.207, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006029/0.000603, allocations: 19.98 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1115, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5525, allocations: 74.69 MB / 383.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.5529, allocations: 89.84 kB / 383.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03119/0.5841, allocations: 5.553 MB / 389.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.929e-06/0.5842, allocations: 4 kB / 389.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.388e-05/0.5843, allocations: 7.656 kB / 389.4 MB, free: 14.8 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.002208/0.5865, allocations: 0.5964 MB / 390 MB, free: 14.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.5866, allocations: 7.719 kB / 390 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.5869, allocations: 35.06 kB / 390 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006979/0.5877, allocations: 273.3 kB / 390.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.5877, allocations: 22.66 kB / 390.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/0.5878, allocations: 21.25 kB / 390.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5892, allocations: 252.1 kB / 390.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.5893, allocations: 0 / 390.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-05/0.5894, allocations: 11.22 kB / 390.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5894, allocations: 7.172 kB / 390.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.5909, allocations: 238.2 kB / 390.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/0.5947, allocations: 0.9248 MB / 391.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.5964, allocations: 318 kB / 392.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/0.5965, allocations: 3.875 kB / 392.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009721/0.5975, allocations: 189.3 kB / 392.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 5.32e-06/0.5976, allocations: 4 kB / 392.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00412/0.6017, allocations: 0.5222 MB / 392.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.6019, allocations: 109.4 kB / 392.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.6025, allocations: 265.7 kB / 393.2 MB, free: 13 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.6026, allocations: 36.12 kB / 393.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.6028, allocations: 162.9 kB / 393.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.6029, allocations: 60.27 kB / 393.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.6029, allocations: 11.69 kB / 393.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6031, allocations: 338.5 kB / 393.7 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007725/0.6039, allocations: 101.6 kB / 393.8 MB, free: 12.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.6047, allocations: 169.2 kB / 394 MB, free: 12.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000786/0.6056, allocations: 135.1 kB / 394.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.6056, allocations: 0 / 394.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002799/0.6084, allocations: 420 kB / 394.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/0.6086, allocations: 40.73 kB / 394.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.6087, allocations: 3.781 kB / 394.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.6097, allocations: 79.19 kB / 394.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.6105, allocations: 59.56 kB / 394.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003968/0.6145, allocations: 1.5 MB / 396.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008409/0.6154, allocations: 62.41 kB / 396.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.6155, allocations: 7.781 kB / 396.3 MB, free: 10.87 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.0002952/0.6158, allocations: 140.4 kB / 396.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.6159, allocations: 23.34 kB / 396.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.616, allocations: 30.23 kB / 396.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6161, allocations: 0 / 396.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6161, allocations: 0 / 396.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6161, allocations: 0 / 396.5 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/0.6191, allocations: 0.7137 MB / 397.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.6192, allocations: 0 / 397.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.6198, allocations: 61.16 kB / 397.3 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/0.6208, allocations: 72.59 kB / 397.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.6208, allocations: 10.5 kB / 397.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.6244, allocations: 1.493 MB / 398.8 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6245, allocations: 0 / 398.8 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.6274, allocations: 0.5182 MB / 399.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.6276, allocations: 110.9 kB / 399.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.6277, allocations: 3 kB / 399.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006707/0.6284, allocations: 32 kB / 399.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.6286, allocations: 23.27 kB / 399.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.6286, allocations: 11.84 kB / 399.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000367/0.629, allocations: 189.7 kB / 399.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.629, allocations: 0 / 399.7 MB, free: 8.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008372/0.6299, allocations: 75.97 kB / 399.8 MB, free: 8.68 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.0002313/0.6301, allocations: 112.9 kB / 399.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.632, allocations: 413.5 kB / 400.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.632, allocations: 0 / 400.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009242/0.633, allocations: 237 kB / 400.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.6337, allocations: 42.77 kB / 400.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.636, allocations: 0.6273 MB / 401.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.6364, allocations: 0.7607 MB / 402 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000373/0.6368, allocations: 31.06 kB / 402 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.6369, allocations: 20.34 kB / 402 MB, free: 7.176 MB / 314.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6369, allocations: 0 / 402 MB, free: 7.176 MB / 314.7 MB Notification: Performance of Templates: time 0.01531/0.6523, allocations: 3.221 MB / 405.2 MB, free: 6.949 MB / 314.7 MB