Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.701/1.701, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.329e-05/2.353e-05, allocations: 7.938 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 38.77 MB / 261.3 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.318/0.4224, allocations: 82.27 MB / 343.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4227, allocations: 74.09 kB / 343.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1747/0.5974, allocations: 55.14 MB / 398.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.517e-06/0.5974, allocations: 0 / 398.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.5975, allocations: 28 kB / 398.8 MB, free: 2.246 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.004205/0.6018, allocations: 1.724 MB / 400.5 MB, free: 480 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.6018, allocations: 12.03 kB / 400.5 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.6024, allocations: 221.8 kB / 400.7 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.6054, allocations: 1.251 MB / 402 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.6055, allocations: 23.94 kB / 402 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.6056, allocations: 43.92 kB / 402.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/0.6068, allocations: 438.6 kB / 402.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6081, allocations: 0.5431 MB / 403 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6081, allocations: 11.98 kB / 403 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.6082, allocations: 0 / 403 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.6083, allocations: 23.94 kB / 403.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.6139, allocations: 2.49 MB / 405.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009883/0.6149, allocations: 0.4893 MB / 406 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008581/0.6158, allocations: 471 kB / 406.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/0.6302, allocations: 8.761 MB / 415.3 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1859/0.8162, allocations: 305 kB / 415.6 MB, free: 88.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 5.4e-06/0.8162, allocations: 0 / 415.6 MB, free: 88.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.002636/0.8189, allocations: 0.9553 MB / 416.5 MB, free: 88.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.819, allocations: 86.55 kB / 416.6 MB, free: 88.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.8212, allocations: 1.159 MB / 417.8 MB, free: 87.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.8213, allocations: 27.08 kB / 417.8 MB, free: 87.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.8219, allocations: 0.6892 MB / 418.5 MB, free: 87.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.8221, allocations: 221.1 kB / 418.7 MB, free: 87.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.8222, allocations: 0 / 418.7 MB, free: 87.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.8223, allocations: 340.4 kB / 419 MB, free: 87.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.8227, allocations: 185.7 kB / 419.2 MB, free: 87.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/0.8233, allocations: 378.9 kB / 419.6 MB, free: 87.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.8243, allocations: 359.1 kB / 419.9 MB, free: 87.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.692e-06/0.8243, allocations: 1.375 kB / 419.9 MB, free: 87.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002218/0.8265, allocations: 0.8987 MB / 420.8 MB, free: 86.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.8266, allocations: 8.062 kB / 420.8 MB, free: 86.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/0.8267, allocations: 76.81 kB / 420.9 MB, free: 86.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.8284, allocations: 0.6712 MB / 421.6 MB, free: 86.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.829, allocations: 127.4 kB / 421.7 MB, free: 86.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.8313, allocations: 1.279 MB / 423 MB, free: 86.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.8325, allocations: 81.73 kB / 423.1 MB, free: 86.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.8326, allocations: 38.22 kB / 423.1 MB, free: 86.39 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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 () * 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.0002663/0.8329, allocations: 135.3 kB / 423.2 MB, free: 86.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.8332, allocations: 201.1 kB / 423.4 MB, free: 86.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/0.8364, allocations: 1.094 MB / 424.5 MB, free: 86.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.8364, allocations: 5.844 kB / 424.5 MB, free: 86.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/0.8365, allocations: 5.672 kB / 424.5 MB, free: 86.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.972e-06/0.8365, allocations: 2.062 kB / 424.5 MB, free: 86.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.8382, allocations: 0.9176 MB / 425.4 MB, free: 85.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001334/0.8383, allocations: 67.44 kB / 425.5 MB, free: 85.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.8388, allocations: 71.58 kB / 425.6 MB, free: 85.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001549/0.8404, allocations: 0.6635 MB / 426.2 MB, free: 85.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.01e-05/0.8405, allocations: 12.31 kB / 426.3 MB, free: 85.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.8427, allocations: 1.265 MB / 427.5 MB, free: 85.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.8427, allocations: 0.75 kB / 427.5 MB, free: 85.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.8457, allocations: 1.29 MB / 428.8 MB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.8464, allocations: 292.6 kB / 429.1 MB, free: 84.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.8467, allocations: 7.469 kB / 429.1 MB, free: 84.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.8474, allocations: 41.05 kB / 429.1 MB, free: 84.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.8476, allocations: 48.42 kB / 429.2 MB, free: 84.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/0.8477, allocations: 24.77 kB / 429.2 MB, free: 84.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001771/0.8494, allocations: 0.8734 MB / 430.1 MB, free: 84.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.838e-06/0.8495, allocations: 0 / 430.1 MB, free: 84.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001738/0.8512, allocations: 460.5 kB / 430.5 MB, free: 84.75 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) * 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.001306/0.8526, allocations: 0.6091 MB / 431.2 MB, free: 84.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.8545, allocations: 0.7044 MB / 431.9 MB, free: 84.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.994e-06/0.8546, allocations: 0 / 431.9 MB, free: 84.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.8557, allocations: 460 kB / 432.3 MB, free: 84.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.8568, allocations: 177.4 kB / 432.5 MB, free: 84.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.8627, allocations: 2.36 MB / 434.8 MB, free: 83.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.8634, allocations: 1.255 MB / 436.1 MB, free: 83.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.8637, allocations: 87.06 kB / 436.2 MB, free: 83.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.923e-06/0.8637, allocations: 3.938 kB / 436.2 MB, free: 83.14 MB / 346.7 MB Notification: Performance of Templates: time 0.03542/0.8991, allocations: 24.71 MB / 460.9 MB, free: 80.65 MB / 346.7 MB