Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005302, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08349/0.08406, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5095, allocations: 81.94 MB / 354.6 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5098, allocations: 82.39 kB / 354.6 MB, free: 7.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1884/0.6982, allocations: 55.23 MB / 409.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6983, allocations: 0 / 409.9 MB, free: 6.219 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.283e-05/0.6984, allocations: 24 kB / 409.9 MB, free: 6.195 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004551/0.703, allocations: 1.844 MB / 411.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.703, allocations: 12.03 kB / 411.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.7034, allocations: 205.6 kB / 411.9 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.7061, allocations: 1.131 MB / 413.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.7062, allocations: 37 kB / 413.1 MB, free: 2.867 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.7064, allocations: 43.91 kB / 413.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.7079, allocations: 0.5197 MB / 413.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.7079, allocations: 0 / 413.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.708, allocations: 16 kB / 413.7 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.7081, allocations: 19.98 kB / 413.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.7097, allocations: 0.4921 MB / 414.2 MB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005012/0.7147, allocations: 2.136 MB / 416.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.7164, allocations: 0.7247 MB / 417.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01442/0.7308, allocations: 7.679 MB / 424.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/0.7318, allocations: 306.5 kB / 425 MB, free: 5.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.516e-06/0.7318, allocations: 0 / 425 MB, free: 5.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.006407/0.7382, allocations: 2.17 MB / 427.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.7383, allocations: 59.84 kB / 427.3 MB, free: 3.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.7409, allocations: 1.28 MB / 428.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.741, allocations: 37.7 kB / 428.6 MB, free: 1.918 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.7421, allocations: 0.715 MB / 429.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/0.7424, allocations: 201 kB / 429.5 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-05/0.7425, allocations: 19.94 kB / 429.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.7427, allocations: 330 kB / 429.8 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/0.7435, allocations: 205.5 kB / 430 MB, free: 456 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009036/0.7444, allocations: 372.4 kB / 430.4 MB, free: 20 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2361/0.9805, allocations: 253.6 kB / 430.7 MB, free: 86.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.9805, allocations: 1.281 kB / 430.7 MB, free: 86.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003216/0.9838, allocations: 0.9273 MB / 431.6 MB, free: 86.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.9839, allocations: 10.94 kB / 431.6 MB, free: 86.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.984, allocations: 58.47 kB / 431.7 MB, free: 86.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.9847, allocations: 154.8 kB / 431.8 MB, free: 86.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/0.9856, allocations: 120.5 kB / 431.9 MB, free: 86.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.9898, allocations: 2.33 MB / 434.3 MB, free: 85.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/0.9909, allocations: 38.92 kB / 434.3 MB, free: 85.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.9911, allocations: 32.11 kB / 434.3 MB, free: 85.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(4,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007331/0.9918, allocations: 277.5 kB / 434.6 MB, free: 85.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.9922, allocations: 180.1 kB / 434.8 MB, free: 85.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.9955, allocations: 0.9189 MB / 435.7 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.9956, allocations: 6.344 kB / 435.7 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.9956, allocations: 2.75 kB / 435.7 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.9956, allocations: 3.234 kB / 435.7 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/0.9974, allocations: 0.8646 MB / 436.6 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001383/0.9976, allocations: 52.28 kB / 436.6 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.9982, allocations: 69.56 kB / 436.7 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006431/0.9989, allocations: 153.9 kB / 436.8 MB, free: 84.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/0.999, allocations: 16.7 kB / 436.8 MB, free: 84.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/1.003, allocations: 2.305 MB / 439.2 MB, free: 83.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.003, allocations: 5.203 kB / 439.2 MB, free: 83.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/1.007, allocations: 1.09 MB / 440.2 MB, free: 83.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006525/1.007, allocations: 253.1 kB / 440.5 MB, free: 83.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.008, allocations: 15.23 kB / 440.5 MB, free: 83.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/1.008, allocations: 27.53 kB / 440.5 MB, free: 83.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.008, allocations: 50.27 kB / 440.6 MB, free: 83.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/1.008, allocations: 24.86 kB / 440.6 MB, free: 83.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001863/1.01, allocations: 0.8441 MB / 441.5 MB, free: 83.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.01, allocations: 2.844 kB / 441.5 MB, free: 83.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001827/1.012, allocations: 428.5 kB / 441.9 MB, free: 83.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/1.014, allocations: 0.5308 MB / 442.4 MB, free: 82.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002716/1.016, allocations: 0.8583 MB / 443.3 MB, free: 82.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.016, allocations: 0 / 443.3 MB, free: 82.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.018, allocations: 0.6144 MB / 443.9 MB, free: 82.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.019, allocations: 164.6 kB / 444 MB, free: 82.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/1.025, allocations: 2.739 MB / 446.8 MB, free: 81.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/1.026, allocations: 1.2 MB / 448 MB, free: 80.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000918/1.027, allocations: 156.8 kB / 448.1 MB, free: 80.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.027, allocations: 68.16 kB / 448.2 MB, free: 80.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/1.027, allocations: 0 / 448.2 MB, free: 80.48 MB / 346.7 MB Notification: Performance of Templates: time 0.04005/1.067, allocations: 13.55 MB / 461.7 MB, free: 79.55 MB / 346.7 MB