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.Analog.Examples.CauerLowPassSC.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.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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.135e-05, allocations: 4 kB / 222.5 MB, free: 8.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.0743, allocations: 38.77 MB / 261.3 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.4108, allocations: 70.38 MB / 331.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.411, allocations: 68.62 kB / 331.7 MB, free: 1.891 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.5428, allocations: 32.62 MB / 364.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.5428, allocations: 0 / 364.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001703/0.543, allocations: 51.98 kB / 364.4 MB, free: 4.621 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.007392/0.5504, allocations: 2.27 MB / 366.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.5505, allocations: 8.031 kB / 366.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.5517, allocations: 256.9 kB / 366.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.5546, allocations: 0.9387 MB / 367.9 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.5548, allocations: 76 kB / 368 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007743/0.5556, allocations: 131.9 kB / 368.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005654/0.5613, allocations: 1.497 MB / 369.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007462/0.5688, allocations: 1.96 MB / 371.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.24e-05/0.5689, allocations: 7.875 kB / 371.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/0.5694, allocations: 7.844 kB / 371.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.5695, allocations: 56 kB / 371.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.5982, allocations: 8.309 MB / 379.9 MB, free: 4.645 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009153/0.6074, allocations: 1.961 MB / 381.9 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004501/0.612, allocations: 0.9596 MB / 382.8 MB, free: 1.719 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.6124, allocations: 22 kB / 382.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004527/0.6169, allocations: 0.8274 MB / 383.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 1.335e-05/0.617, allocations: 0 / 383.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.01359/0.6306, allocations: 2.226 MB / 385.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.6308, allocations: 89.31 kB / 386 MB, free: 14.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/0.6338, allocations: 0.7177 MB / 386.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005282/0.6344, allocations: 37.69 kB / 386.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/0.636, allocations: 0.8176 MB / 387.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001805/0.6379, allocations: 0.639 MB / 388.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.6382, allocations: 0 / 388.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005076/0.6387, allocations: 399.5 kB / 388.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003314/0.6421, allocations: 0.571 MB / 389.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/0.6466, allocations: 1.105 MB / 390.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003706/0.6504, allocations: 0.6656 MB / 390.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.233e-05/0.6505, allocations: 8 kB / 390.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01617/0.6667, allocations: 2.54 MB / 393.5 MB, free: 6.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.966e-05/0.6668, allocations: 12 kB / 393.5 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.6669, allocations: 16 kB / 393.5 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/0.6718, allocations: 1.103 MB / 394.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/0.6732, allocations: 283.5 kB / 394.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2297/0.903, allocations: 21.42 MB / 416.3 MB, free: 90.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.905, allocations: 221.1 kB / 416.5 MB, free: 90.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/0.9052, allocations: 91.38 kB / 416.6 MB, free: 90.07 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 () * 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.0004241/0.9056, allocations: 178 kB / 416.8 MB, free: 89.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/0.906, allocations: 153.1 kB / 416.9 MB, free: 89.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/0.9064, allocations: 176.6 kB / 417.1 MB, free: 89.94 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.9065, allocations: 21.38 kB / 417.1 MB, free: 89.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-05/0.9065, allocations: 16.78 kB / 417.2 MB, free: 89.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.119e-05/0.9066, allocations: 12.05 kB / 417.2 MB, free: 89.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.9095, allocations: 1.622 MB / 418.8 MB, free: 89.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.9095, allocations: 0 / 418.8 MB, free: 89.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.9105, allocations: 137.6 kB / 418.9 MB, free: 89.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004336/0.9148, allocations: 1.083 MB / 420 MB, free: 89.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002751/0.9152, allocations: 11.84 kB / 420 MB, free: 89.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0247/0.9399, allocations: 21.42 MB / 441.4 MB, free: 75.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.671e-06/0.9399, allocations: 0.9062 kB / 441.4 MB, free: 75.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007895/0.9478, allocations: 3.212 MB / 444.7 MB, free: 74.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/0.9489, allocations: 421.5 kB / 445.1 MB, free: 74.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.9491, allocations: 10.55 kB / 445.1 MB, free: 74.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.9502, allocations: 83.86 kB / 445.2 MB, free: 74.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006957/0.9509, allocations: 217.9 kB / 445.4 MB, free: 74.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.9511, allocations: 47.95 kB / 445.4 MB, free: 74.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009744/0.9521, allocations: 0.5138 MB / 445.9 MB, free: 74.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.9521, allocations: 0 / 445.9 MB, free: 74.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003011/0.9551, allocations: 0.6608 MB / 446.6 MB, free: 74.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 () * 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.0003139/0.9555, allocations: 139.6 kB / 446.7 MB, free: 74.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006133/0.9616, allocations: 3.57 MB / 450.3 MB, free: 72.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/0.9617, allocations: 0.5625 kB / 450.3 MB, free: 72.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004709/0.9664, allocations: 2.785 MB / 453.1 MB, free: 70.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.9684, allocations: 277 kB / 453.4 MB, free: 70.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.9758, allocations: 3.54 MB / 456.9 MB, free: 68.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.977, allocations: 1.476 MB / 458.4 MB, free: 68.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.9774, allocations: 76.58 kB / 458.4 MB, free: 68.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.65e-06/0.9774, allocations: 4 kB / 458.4 MB, free: 68 MB / 346.7 MB Notification: Performance of Templates: time 0.3071/1.285, allocations: 111.4 MB / 0.5565 GB, free: 104.5 MB / 362.7 MB