Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v|R1.Capacitor1.v|R10.Capacitor1.v|R11.Capacitor1.v|R2.Capacitor1.v|R3.Capacitor1.v|R4.Capacitor1.v|R5.Capacitor1.v|R7.Capacitor1.v|R8.Capacitor1.v|R9.Capacitor1.v|Rp1.Capacitor1.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 8 kB / 233.8 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08673, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4466, allocations: 71.13 MB / 343.7 MB, free: 2.32 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.447, allocations: 74.28 kB / 343.8 MB, free: 2.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1562/0.6032, allocations: 32.9 MB / 376.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.6032, allocations: 0 / 376.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001844/0.6034, allocations: 51.98 kB / 376.8 MB, free: 6.512 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.01751/0.621, allocations: 2.459 MB / 379.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.621, allocations: 8.031 kB / 379.2 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.6225, allocations: 253 kB / 379.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.6261, allocations: 0.946 MB / 380.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.6265, allocations: 169 kB / 380.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008661/0.6273, allocations: 228.4 kB / 380.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009377/0.6367, allocations: 2.303 MB / 383.1 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.547e-05/0.6369, allocations: 4 kB / 383.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000484/0.6374, allocations: 88 kB / 383.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.449e-05/0.6375, allocations: 52 kB / 383.3 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008622/0.6461, allocations: 1.714 MB / 385 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02226/0.6684, allocations: 8.695 MB / 393.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005972/0.6745, allocations: 2.087 MB / 395.8 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/0.6747, allocations: 22 kB / 395.8 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002754/0.6775, allocations: 0.9055 MB / 396.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 5.35e-06/0.6775, allocations: 0 / 396.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.02444/0.7019, allocations: 5.352 MB / 402 MB, free: 13.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.601e-05/0.7021, allocations: 77.41 kB / 402.1 MB, free: 13.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.7042, allocations: 0.9651 MB / 403.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003496/0.7046, allocations: 65.7 kB / 403.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009283/0.7055, allocations: 0.8152 MB / 404 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.7066, allocations: 0.6662 MB / 404.6 MB, free: 10.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.7068, allocations: 44 kB / 404.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.7071, allocations: 394.6 kB / 405.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.7093, allocations: 0.6449 MB / 405.7 MB, free: 9.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.7125, allocations: 1.179 MB / 406.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.7151, allocations: 0.74 MB / 407.6 MB, free: 7.414 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/0.7152, allocations: 4 kB / 407.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01033/0.7255, allocations: 2.93 MB / 410.5 MB, free: 4.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.7256, allocations: 12 kB / 410.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/0.7256, allocations: 16 kB / 410.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/0.732, allocations: 1.178 MB / 411.8 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.734, allocations: 279.5 kB / 412 MB, free: 2.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2709/1.005, allocations: 22.71 MB / 434.7 MB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/1.008, allocations: 273.7 kB / 435 MB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002893/1.008, allocations: 86.09 kB / 435.1 MB, free: 85.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00138/1.01, allocations: 458.4 kB / 435.5 MB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004915/1.01, allocations: 161.8 kB / 435.7 MB, free: 84.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005804/1.011, allocations: 200.4 kB / 435.9 MB, free: 84.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/1.011, allocations: 20.5 kB / 435.9 MB, free: 84.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-05/1.011, allocations: 18.44 kB / 435.9 MB, free: 84.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/1.011, allocations: 10.92 kB / 435.9 MB, free: 84.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/1.015, allocations: 1.902 MB / 437.8 MB, free: 84.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.015, allocations: 0 / 437.8 MB, free: 84.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.017, allocations: 135.2 kB / 438 MB, free: 84.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006166/1.023, allocations: 1.164 MB / 439.1 MB, free: 84.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003979/1.023, allocations: 40.45 kB / 439.2 MB, free: 84.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03333/1.057, allocations: 22.74 MB / 461.9 MB, free: 69.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.057, allocations: 6.234 kB / 461.9 MB, free: 69.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.068, allocations: 3.474 MB / 465.4 MB, free: 68.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.069, allocations: 439.2 kB / 465.8 MB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003916/1.069, allocations: 31.75 kB / 465.8 MB, free: 67.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.071, allocations: 114.2 kB / 466 MB, free: 67.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007666/1.072, allocations: 214 kB / 466.2 MB, free: 67.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.072, allocations: 54.34 kB / 466.2 MB, free: 67.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001155/1.073, allocations: 0.6185 MB / 466.8 MB, free: 67.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.073, allocations: 0 / 466.8 MB, free: 67.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003606/1.077, allocations: 0.7605 MB / 467.6 MB, free: 67.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004229/1.077, allocations: 168.9 kB / 467.8 MB, free: 67.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008447/1.086, allocations: 3.921 MB / 471.7 MB, free: 64.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.086, allocations: 3.031 kB / 471.7 MB, free: 64.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006302/1.092, allocations: 3.015 MB / 474.7 MB, free: 62.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002686/1.095, allocations: 344.8 kB / 475 MB, free: 62.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.105, allocations: 5.227 MB / 480.3 MB, free: 59.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.107, allocations: 1.484 MB / 481.7 MB, free: 58.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001027/1.108, allocations: 141.6 kB / 481.9 MB, free: 58.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/1.108, allocations: 72 kB / 482 MB, free: 58.89 MB / 346.7 MB Notification: Performance of SimCode: time 8.72e-07/1.108, allocations: 0 / 482 MB, free: 58.89 MB / 346.7 MB Notification: Performance of Templates: time 0.08436/1.192, allocations: 31.34 MB / 0.5013 GB, free: 40.23 MB / 346.7 MB