Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 11.94 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1025, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5113/0.6138, allocations: 86.08 MB / 395.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/0.6143, allocations: 85.47 kB / 395.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1797/0.794, allocations: 54.63 MB / 449.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7941, allocations: 0 / 449.8 MB, free: 5.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.7942, allocations: 24 kB / 449.9 MB, free: 5.625 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.00494/0.7992, allocations: 1.843 MB / 451.7 MB, free: 3.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.7992, allocations: 12.03 kB / 451.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.7997, allocations: 201.7 kB / 451.9 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.8025, allocations: 1.144 MB / 453.1 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.8026, allocations: 37.75 kB / 453.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.8028, allocations: 40.69 kB / 453.1 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.8044, allocations: 0.5226 MB / 453.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.8045, allocations: 0 / 453.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.8045, allocations: 16 kB / 453.7 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.8046, allocations: 19.23 kB / 453.7 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.8062, allocations: 496.2 kB / 454.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00547/0.8117, allocations: 2.129 MB / 456.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.8135, allocations: 0.7207 MB / 457 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01456/0.8281, allocations: 7.687 MB / 464.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009639/0.8291, allocations: 306.5 kB / 465 MB, free: 5.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.446e-06/0.8291, allocations: 0 / 465 MB, free: 5.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.006413/0.8356, allocations: 2.166 MB / 467.2 MB, free: 3.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.8357, allocations: 55.84 kB / 467.2 MB, free: 3.645 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.8382, allocations: 1.288 MB / 468.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.8383, allocations: 33.7 kB / 468.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009298/0.8393, allocations: 0.715 MB / 469.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.8396, allocations: 201.1 kB / 469.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.8396, allocations: 19.94 kB / 469.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8398, allocations: 330 kB / 469.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007697/0.8406, allocations: 205.6 kB / 470 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.8415, allocations: 372.3 kB / 470.4 MB, free: 428 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.8423, allocations: 261.9 kB / 470.6 MB, free: 172 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.8424, allocations: 4 kB / 470.6 MB, free: 168 kB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002862/0.8452, allocations: 0.9227 MB / 471.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.8453, allocations: 8 kB / 471.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.8455, allocations: 59.98 kB / 471.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006879/0.8462, allocations: 156.7 kB / 471.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/0.847, allocations: 123.7 kB / 471.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004454/0.8515, allocations: 2.338 MB / 474.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8525, allocations: 32.03 kB / 474.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.8527, allocations: 32 kB / 474.3 MB, free: 12.35 MB / 362.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.0008135/0.8535, allocations: 273.7 kB / 474.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.8539, allocations: 177.9 kB / 474.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.8573, allocations: 0.9293 MB / 475.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.8573, allocations: 4 kB / 475.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.8574, allocations: 7.984 kB / 475.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8574, allocations: 0 / 475.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.8593, allocations: 0.8593 MB / 476.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001352/0.8595, allocations: 48 kB / 476.6 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006187/0.8601, allocations: 75.88 kB / 476.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006722/0.8608, allocations: 144.7 kB / 476.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.8609, allocations: 23.98 kB / 476.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.8652, allocations: 2.295 MB / 479.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8653, allocations: 7.953 kB / 479.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.869, allocations: 1.092 MB / 480.2 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.8698, allocations: 251 kB / 480.5 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/0.8701, allocations: 12 kB / 480.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/0.8709, allocations: 23.98 kB / 480.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.8711, allocations: 44.38 kB / 480.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.8712, allocations: 27.98 kB / 480.6 MB, free: 5.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001941/0.8732, allocations: 0.846 MB / 481.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.8732, allocations: 0 / 481.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001979/0.8752, allocations: 427.5 kB / 481.8 MB, free: 4.574 MB / 362.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.001488/0.8767, allocations: 0.5402 MB / 482.4 MB, free: 4.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002835/0.8796, allocations: 0.8562 MB / 483.2 MB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8796, allocations: 4.125 kB / 483.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.8815, allocations: 0.6173 MB / 483.8 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.8826, allocations: 158.3 kB / 484 MB, free: 2.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/0.8906, allocations: 2.755 MB / 486.8 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.8921, allocations: 1.196 MB / 488 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00133/0.8935, allocations: 153.5 kB / 488.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.8938, allocations: 71.44 kB / 488.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8938, allocations: 0 / 488.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of Templates: time 0.08697/0.9808, allocations: 13.54 MB / 0.49 GB, free: 0.5859 MB / 378.7 MB