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.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_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005431/0.0005431, allocations: 12 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4152/0.522, allocations: 83.02 MB / 355.6 MB, free: 6.613 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.5224, allocations: 75.97 kB / 355.7 MB, free: 6.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2053/0.7277, allocations: 58.2 MB / 413.9 MB, free: 2.145 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7278, allocations: 4 kB / 413.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.426e-05/0.7279, allocations: 28 kB / 413.9 MB, free: 2.113 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.006061/0.7339, allocations: 2.087 MB / 416 MB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.734, allocations: 8.031 kB / 416 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006379/0.7347, allocations: 225.2 kB / 416.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.7384, allocations: 1.255 MB / 417.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/0.7386, allocations: 41.31 kB / 417.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.7387, allocations: 59.84 kB / 417.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.741, allocations: 0.7134 MB / 418.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.7411, allocations: 0 / 418.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.7412, allocations: 27.98 kB / 418.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.344e-05/0.7413, allocations: 19.95 kB / 418.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.7437, allocations: 0.6102 MB / 419 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006282/0.75, allocations: 2.601 MB / 421.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.7522, allocations: 0.6531 MB / 422.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2956/1.048, allocations: 8.687 MB / 430.9 MB, free: 85.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002274/1.05, allocations: 406.4 kB / 431.3 MB, free: 84.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 6.763e-06/1.05, allocations: 0 / 431.3 MB, free: 84.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.01745/1.068, allocations: 2.209 MB / 433.5 MB, free: 84.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/1.068, allocations: 92.39 kB / 433.6 MB, free: 84.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004846/1.073, allocations: 1.482 MB / 435.1 MB, free: 84.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/1.073, allocations: 38.52 kB / 435.1 MB, free: 84.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.074, allocations: 0.7969 MB / 435.9 MB, free: 84.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/1.075, allocations: 232.1 kB / 436.2 MB, free: 84.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/1.075, allocations: 13.81 kB / 436.2 MB, free: 84.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/1.075, allocations: 334.3 kB / 436.5 MB, free: 83.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/1.077, allocations: 276.1 kB / 436.8 MB, free: 83.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.078, allocations: 477.9 kB / 437.2 MB, free: 83.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/1.08, allocations: 328.2 kB / 437.6 MB, free: 83.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/1.08, allocations: 5.297 kB / 437.6 MB, free: 83.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00531/1.086, allocations: 1.171 MB / 438.7 MB, free: 83.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/1.086, allocations: 9.734 kB / 438.7 MB, free: 83.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002596/1.086, allocations: 74.78 kB / 438.8 MB, free: 83.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/1.089, allocations: 0.6988 MB / 439.5 MB, free: 83.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/1.091, allocations: 122.8 kB / 439.6 MB, free: 83.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/1.093, allocations: 1.117 MB / 440.8 MB, free: 82.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.096, allocations: 101.5 kB / 440.9 MB, free: 82.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/1.096, allocations: 39.48 kB / 440.9 MB, free: 82.87 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.001178/1.097, allocations: 284 kB / 441.2 MB, free: 82.76 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/1.098, allocations: 200.7 kB / 441.4 MB, free: 82.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006559/1.104, allocations: 1.185 MB / 442.6 MB, free: 82.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/1.104, allocations: 5.875 kB / 442.6 MB, free: 82.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.104, allocations: 1.281 kB / 442.6 MB, free: 82.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.104, allocations: 0 / 442.6 MB, free: 82.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/1.108, allocations: 1.008 MB / 443.6 MB, free: 82.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003607/1.108, allocations: 66.34 kB / 443.6 MB, free: 82.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.109, allocations: 72.84 kB / 443.7 MB, free: 82.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/1.112, allocations: 0.6709 MB / 444.4 MB, free: 82.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/1.112, allocations: 23.61 kB / 444.4 MB, free: 82.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/1.115, allocations: 1.086 MB / 445.5 MB, free: 81.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.115, allocations: 0 / 445.5 MB, free: 81.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006142/1.121, allocations: 1.45 MB / 446.9 MB, free: 81.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009344/1.122, allocations: 295.9 kB / 447.2 MB, free: 81.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/1.122, allocations: 15.45 kB / 447.2 MB, free: 81.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.123, allocations: 46.05 kB / 447.3 MB, free: 81.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/1.123, allocations: 52.66 kB / 447.3 MB, free: 81.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/1.124, allocations: 24.36 kB / 447.4 MB, free: 81.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001816/1.125, allocations: 0.9897 MB / 448.3 MB, free: 81.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.125, allocations: 0 / 448.3 MB, free: 81.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001853/1.127, allocations: 485.8 kB / 448.8 MB, free: 81.2 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.001331/1.129, allocations: 0.5521 MB / 449.4 MB, free: 81.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00336/1.132, allocations: 0.8959 MB / 450.3 MB, free: 81.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.132, allocations: 0 / 450.3 MB, free: 81.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002832/1.135, allocations: 0.5506 MB / 450.8 MB, free: 80.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/1.138, allocations: 175.8 kB / 451 MB, free: 80.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.151, allocations: 3.418 MB / 454.4 MB, free: 79.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.152, allocations: 1.25 MB / 455.7 MB, free: 78.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001501/1.154, allocations: 179.6 kB / 455.8 MB, free: 78.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003289/1.154, allocations: 84.14 kB / 455.9 MB, free: 78.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/1.154, allocations: 3.938 kB / 455.9 MB, free: 78.63 MB / 346.7 MB Notification: Performance of Templates: time 0.05885/1.213, allocations: 16.68 MB / 472.6 MB, free: 77.45 MB / 346.7 MB