Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.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.1_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005131/0.0005134, allocations: 8 kB / 233.8 MB, free: 3.09 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09502, allocations: 38.77 MB / 272.6 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.4789, allocations: 83.01 MB / 355.6 MB, free: 7.211 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.4793, allocations: 77.03 kB / 355.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2189/0.6982, allocations: 58.21 MB / 413.8 MB, free: 2.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.038e-06/0.6983, allocations: 4 kB / 413.8 MB, free: 2.781 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001358/0.6984, allocations: 28 kB / 413.9 MB, free: 2.754 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.008564/0.707, allocations: 2.079 MB / 416 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.7071, allocations: 8.031 kB / 416 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.7079, allocations: 225.3 kB / 416.2 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004634/0.7126, allocations: 1.255 MB / 417.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.7127, allocations: 45.3 kB / 417.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.7129, allocations: 55.91 kB / 417.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.7152, allocations: 0.7173 MB / 418.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.7152, allocations: 0 / 418.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7153, allocations: 27.98 kB / 418.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.7154, allocations: 27.88 kB / 418.3 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.7178, allocations: 0.6102 MB / 418.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006331/0.7241, allocations: 2.594 MB / 421.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.7264, allocations: 0.6544 MB / 422.2 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01609/0.7425, allocations: 8.697 MB / 430.9 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2522/0.9947, allocations: 400.7 kB / 431.3 MB, free: 85.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 5.04e-06/0.9948, allocations: 0 / 431.3 MB, free: 85.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.01181/1.007, allocations: 2.206 MB / 433.5 MB, free: 85.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/1.007, allocations: 87.16 kB / 433.5 MB, free: 84.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003033/1.01, allocations: 1.484 MB / 435 MB, free: 84.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001657/1.01, allocations: 40.23 kB / 435.1 MB, free: 84.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000676/1.011, allocations: 0.7014 MB / 435.8 MB, free: 84.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/1.011, allocations: 226.2 kB / 436 MB, free: 84.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/1.011, allocations: 11.48 kB / 436 MB, free: 84.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/1.011, allocations: 342.9 kB / 436.3 MB, free: 84.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/1.012, allocations: 276.2 kB / 436.6 MB, free: 84.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/1.014, allocations: 475 kB / 437.1 MB, free: 83.86 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.015, allocations: 332.3 kB / 437.4 MB, free: 83.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/1.015, allocations: 6.703 kB / 437.4 MB, free: 83.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003311/1.018, allocations: 1.002 MB / 438.4 MB, free: 83.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/1.018, allocations: 8.469 kB / 438.4 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/1.018, allocations: 73.08 kB / 438.5 MB, free: 83.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/1.02, allocations: 0.6989 MB / 439.2 MB, free: 83.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/1.021, allocations: 128.2 kB / 439.3 MB, free: 83.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/1.023, allocations: 1.111 MB / 440.4 MB, free: 83.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.025, allocations: 107 kB / 440.5 MB, free: 83.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.025, allocations: 35.33 kB / 440.6 MB, free: 83.19 MB / 346.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.0008932/1.026, allocations: 296.8 kB / 440.8 MB, free: 83.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003889/1.026, allocations: 199.3 kB / 441 MB, free: 82.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/1.031, allocations: 1.18 MB / 442.2 MB, free: 82.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/1.031, allocations: 7.047 kB / 442.2 MB, free: 82.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/1.031, allocations: 0 / 442.2 MB, free: 82.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.031, allocations: 1.969 kB / 442.2 MB, free: 82.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/1.033, allocations: 1.003 MB / 443.2 MB, free: 82.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001613/1.033, allocations: 67.83 kB / 443.3 MB, free: 82.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006756/1.034, allocations: 70.39 kB / 443.4 MB, free: 82.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/1.036, allocations: 0.6744 MB / 444 MB, free: 82.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.036, allocations: 21.3 kB / 444.1 MB, free: 82.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.038, allocations: 1.089 MB / 445.2 MB, free: 82.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.038, allocations: 1.969 kB / 445.2 MB, free: 82.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/1.042, allocations: 1.449 MB / 446.6 MB, free: 81.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000769/1.043, allocations: 302.3 kB / 446.9 MB, free: 81.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/1.043, allocations: 13.41 kB / 446.9 MB, free: 81.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/1.044, allocations: 52.02 kB / 447 MB, free: 81.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.044, allocations: 49.45 kB / 447 MB, free: 81.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/1.044, allocations: 26.34 kB / 447 MB, free: 81.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001771/1.046, allocations: 0.9784 MB / 448 MB, free: 81.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.046, allocations: 1.125 kB / 448 MB, free: 81.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001634/1.048, allocations: 494 kB / 448.5 MB, free: 81.52 MB / 346.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.001197/1.049, allocations: 0.5524 MB / 449 MB, free: 81.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003264/1.052, allocations: 0.8858 MB / 449.9 MB, free: 81.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.052, allocations: 0 / 449.9 MB, free: 81.35 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.054, allocations: 0.5484 MB / 450.5 MB, free: 81.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.056, allocations: 181.3 kB / 450.7 MB, free: 81.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/1.063, allocations: 3.469 MB / 454.1 MB, free: 79.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/1.064, allocations: 1.246 MB / 455.4 MB, free: 78.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003436/1.064, allocations: 90.95 kB / 455.5 MB, free: 78.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/1.064, allocations: 0 / 455.5 MB, free: 78.97 MB / 346.7 MB Notification: Performance of Templates: time 0.04444/1.109, allocations: 24.78 MB / 480.2 MB, free: 73.73 MB / 346.7 MB