Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.74/1.74, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08823, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.4908, allocations: 87.13 MB / 396.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4911, allocations: 82.28 kB / 396.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1657/0.6568, allocations: 57.59 MB / 453.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6568, allocations: 0 / 453.8 MB, free: 2.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.489e-05/0.6569, allocations: 28 kB / 453.8 MB, free: 2.691 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00493/0.6619, allocations: 2.078 MB / 455.9 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6619, allocations: 12.03 kB / 455.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003646/0.6623, allocations: 217.4 kB / 456.1 MB, free: 444 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.6652, allocations: 1.259 MB / 457.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.6652, allocations: 38.88 kB / 457.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.6654, allocations: 62.59 kB / 457.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.6675, allocations: 0.7169 MB / 458.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.6676, allocations: 0 / 458.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.71e-05/0.6677, allocations: 27.94 kB / 458.2 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.6677, allocations: 16 kB / 458.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.67, allocations: 0.6181 MB / 458.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/0.6755, allocations: 2.59 MB / 461.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.6776, allocations: 0.6584 MB / 462.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/0.6924, allocations: 8.693 MB / 470.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.6938, allocations: 402 kB / 471.2 MB, free: 152 kB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.459e-06/0.6938, allocations: 0 / 471.2 MB, free: 152 kB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.01109/0.7049, allocations: 2.212 MB / 473.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.705, allocations: 93.55 kB / 473.5 MB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002694/0.7077, allocations: 1.486 MB / 475 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.7078, allocations: 37.7 kB / 475 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007979/0.7086, allocations: 0.7052 MB / 475.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.7089, allocations: 220.8 kB / 475.9 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.7089, allocations: 16 kB / 475.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7091, allocations: 342.8 kB / 476.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.7102, allocations: 273.9 kB / 476.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.7114, allocations: 482.2 kB / 477 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.7126, allocations: 326.9 kB / 477.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.7126, allocations: 0 / 477.3 MB, free: 9.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003152/0.7158, allocations: 1.005 MB / 478.3 MB, free: 8.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.7158, allocations: 8 kB / 478.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/0.716, allocations: 71.98 kB / 478.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.7179, allocations: 0.6959 MB / 479.1 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.7187, allocations: 127.8 kB / 479.2 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.7208, allocations: 1.12 MB / 480.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7219, allocations: 95.31 kB / 480.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.7221, allocations: 39.98 kB / 480.5 MB, free: 6.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007976/0.7229, allocations: 295.8 kB / 480.8 MB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.7232, allocations: 201.6 kB / 481 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/0.7273, allocations: 1.181 MB / 482.1 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.7274, allocations: 8 kB / 482.2 MB, free: 4.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7274, allocations: 4.078 kB / 482.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.7274, allocations: 8 kB / 482.2 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.7291, allocations: 0.9991 MB / 483.2 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001581/0.7293, allocations: 67.98 kB / 483.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/0.7299, allocations: 63.94 kB / 483.3 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.7317, allocations: 0.674 MB / 484 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.489e-05/0.7318, allocations: 23.95 kB / 484 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/0.7338, allocations: 1.088 MB / 485.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7338, allocations: 0 / 485.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004501/0.7383, allocations: 1.444 MB / 486.5 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.7389, allocations: 298.5 kB / 486.8 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.7392, allocations: 15.95 kB / 486.8 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/0.7401, allocations: 47.95 kB / 486.9 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.7403, allocations: 48.36 kB / 486.9 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.473e-05/0.7404, allocations: 24.08 kB / 486.9 MB, free: 15.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001953/0.7424, allocations: 0.9839 MB / 487.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7424, allocations: 0 / 487.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001483/0.7439, allocations: 495.1 kB / 488.4 MB, free: 14.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.7451, allocations: 0.5478 MB / 489 MB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003251/0.7484, allocations: 0.8857 MB / 489.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.7484, allocations: 4.125 kB / 489.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.7504, allocations: 0.5447 MB / 490.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/0.7514, allocations: 186.9 kB / 490.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/0.7594, allocations: 3.46 MB / 494 MB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009712/0.7604, allocations: 1.252 MB / 495.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.7607, allocations: 87.42 kB / 495.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7607, allocations: 0 / 495.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of Templates: time 0.04715/0.8079, allocations: 24.78 MB / 0.508 GB, free: 14.62 MB / 410.7 MB