Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.601/1.601, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004795/0.0004796, allocations: 8 kB / 233.3 MB, free: 2.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08145, allocations: 38.76 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4103, allocations: 67.85 MB / 340 MB, free: 5.629 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4107, allocations: 69.09 kB / 340 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02169/0.4324, allocations: 4.922 MB / 344.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4324, allocations: 0 / 344.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.4325, allocations: 4 kB / 344.9 MB, free: 1.402 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001217/0.4337, allocations: 0.5439 MB / 345.5 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4338, allocations: 8.031 kB / 345.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.4339, allocations: 59.8 kB / 345.6 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.434, allocations: 39.56 kB / 345.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.4344, allocations: 259.5 kB / 345.8 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.4345, allocations: 23.19 kB / 345.9 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-05/0.4345, allocations: 30.17 kB / 345.9 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.4352, allocations: 246.5 kB / 346.1 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.4353, allocations: 0 / 346.1 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.4353, allocations: 14.44 kB / 346.2 MB, free: 252 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4354, allocations: 4 kB / 346.2 MB, free: 248 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/0.436, allocations: 185.5 kB / 346.3 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.4385, allocations: 1.026 MB / 347.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.4392, allocations: 327.8 kB / 347.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4392, allocations: 4.125 kB / 347.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.4392, allocations: 38.12 kB / 347.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.427e-06/0.4392, allocations: 0 / 347.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.002208/0.4415, allocations: 0.7953 MB / 348.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.4415, allocations: 55.41 kB / 348.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.4418, allocations: 173.3 kB / 348.7 MB, free: 13.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4418, allocations: 33.02 kB / 348.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.442, allocations: 230.7 kB / 349 MB, free: 13.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.4421, allocations: 96.83 kB / 349.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.4421, allocations: 2.812 kB / 349.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4423, allocations: 326.2 kB / 349.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.4425, allocations: 77.47 kB / 349.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4428, allocations: 98.55 kB / 349.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.443, allocations: 87.17 kB / 349.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4431, allocations: 0 / 349.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008685/0.4439, allocations: 314.1 kB / 350 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.444, allocations: 8 kB / 350 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.444, allocations: 0 / 350 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000424/0.4444, allocations: 86.03 kB / 350.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.4448, allocations: 47.91 kB / 350.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.4477, allocations: 1.911 MB / 352 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.448, allocations: 9.594 kB / 352 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.448, allocations: 6.312 kB / 352 MB, free: 10.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.4483, allocations: 150.2 kB / 352.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.4484, allocations: 19.81 kB / 352.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.793e-05/0.4485, allocations: 31.48 kB / 352.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4485, allocations: 0 / 352.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.4485, allocations: 4 kB / 352.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4485, allocations: 0 / 352.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4503, allocations: 0.7558 MB / 353 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4503, allocations: 4 kB / 353 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.4507, allocations: 39.97 kB / 353 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.451, allocations: 77.52 kB / 353.1 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.4511, allocations: 11.38 kB / 353.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.4537, allocations: 1.804 MB / 354.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4537, allocations: 0 / 354.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.4548, allocations: 476.2 kB / 355.4 MB, free: 7.953 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.455, allocations: 92.94 kB / 355.5 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.455, allocations: 15.14 kB / 355.5 MB, free: 7.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.4553, allocations: 19.36 kB / 355.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.4554, allocations: 19.53 kB / 355.5 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.4555, allocations: 4 kB / 355.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001851/0.4557, allocations: 149.6 kB / 355.7 MB, free: 7.672 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4557, allocations: 0 / 355.7 MB, free: 7.672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006004/0.4563, allocations: 79.19 kB / 355.8 MB, free: 7.602 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/0.4577, allocations: 1.002 MB / 356.8 MB, free: 6.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.4588, allocations: 365.9 kB / 357.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4588, allocations: 0 / 357.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.4595, allocations: 270.2 kB / 357.4 MB, free: 6.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.46, allocations: 42.11 kB / 357.4 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/0.4644, allocations: 1.973 MB / 359.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.4649, allocations: 0.7791 MB / 360.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.4651, allocations: 87.03 kB / 360.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4651, allocations: 4 kB / 360.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.644/3.11, allocations: 5.076 MB / 365.4 MB, free: 14.41 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat