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 1.911/1.911, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.09021, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008936/0.0992, allocations: 6.068 MB / 315.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01548/0.1147, allocations: 9.1 MB / 324.2 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009804/0.1158, allocations: 43.62 kB / 324.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.1179, allocations: 0.556 MB / 324.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004128/0.122, allocations: 1.04 MB / 325.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.1239, allocations: 463.2 kB / 326.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005446/0.1294, allocations: 2.105 MB / 328.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.13, allocations: 247.4 kB / 328.7 MB, free: 12.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000602/0.1306, allocations: 398 kB / 329.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006903/0.1313, allocations: 481 kB / 329.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.1315, allocations: 32 kB / 329.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.1338, allocations: 0.6753 MB / 330.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1341, allocations: 147 kB / 330.4 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.1345, allocations: 320.8 kB / 330.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00225/0.1367, allocations: 1.371 MB / 332.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1368, allocations: 0 / 332.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1368, allocations: 0 / 332.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.1368, allocations: 0 / 332.1 MB, free: 9.262 MB / 282.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.003826/0.1406, allocations: 1.768 MB / 333.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1407, allocations: 12.03 kB / 333.8 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000337/0.141, allocations: 193.8 kB / 334 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002926/0.144, allocations: 1.264 MB / 335.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.144, allocations: 29 kB / 335.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.1442, allocations: 47.94 kB / 335.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.1457, allocations: 0.5235 MB / 335.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1458, allocations: 0 / 335.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.1459, allocations: 20 kB / 335.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.1459, allocations: 19.98 kB / 335.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.1475, allocations: 492.1 kB / 336.4 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.1523, allocations: 2.124 MB / 338.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1539, allocations: 0.7276 MB / 339.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/0.1658, allocations: 6.56 MB / 345.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008902/0.1668, allocations: 302.5 kB / 346.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=55): time 3.336e-06/0.1668, allocations: 0 / 346.1 MB, free: 9.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=59): time 0.005774/0.1726, allocations: 2.17 MB / 348.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1726, allocations: 55.84 kB / 348.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.1748, allocations: 1.284 MB / 349.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/0.1749, allocations: 33.7 kB / 349.7 MB, free: 6.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/0.1758, allocations: 0.715 MB / 350.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.176, allocations: 201.1 kB / 350.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.176, allocations: 8 kB / 350.6 MB, free: 5.367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1762, allocations: 338 kB / 350.9 MB, free: 5.031 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.1769, allocations: 197.6 kB / 351.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008424/0.1778, allocations: 380.4 kB / 351.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.1786, allocations: 261.8 kB / 351.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.1786, allocations: 0 / 351.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002557/0.1812, allocations: 0.9227 MB / 352.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1812, allocations: 12.03 kB / 352.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/0.1814, allocations: 55.98 kB / 352.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.182, allocations: 152.7 kB / 352.9 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.1829, allocations: 127.8 kB / 353 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/0.187, allocations: 2.33 MB / 355.3 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007864/0.1878, allocations: 35.98 kB / 355.4 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.1879, allocations: 36 kB / 355.4 MB, free: 340 kB / 298.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.0006138/0.1886, allocations: 269.7 kB / 355.6 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.1888, allocations: 178.1 kB / 355.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.192, allocations: 0.933 MB / 356.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.192, allocations: 0 / 356.8 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000124/0.1922, allocations: 51.98 kB / 356.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.1926, allocations: 254.9 kB / 357.1 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002701/0.1929, allocations: 4 kB / 357.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/0.1936, allocations: 31.97 kB / 357.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.1938, allocations: 56.36 kB / 357.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002981/0.1968, allocations: 0.7874 MB / 357.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002742/0.1995, allocations: 1.119 MB / 359.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007259/0.2003, allocations: 243.4 kB / 359.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001595/0.2019, allocations: 0.846 MB / 360.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of Backend: time 4.71e-07/0.2019, allocations: 0 / 360.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003395/0.2053, allocations: 1.165 MB / 361.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of SimCode: time 0.005523/0.2108, allocations: 3.426 MB / 364.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of Templates: time 0.2741/0.485, allocations: 13.86 MB / 378.6 MB, free: 61.9 MB / 314.7 MB