Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003504, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 44.51 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5188, allocations: 72.95 MB / 381.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5191, allocations: 69.95 kB / 381.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01932/0.5385, allocations: 4.7 MB / 386.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5385, allocations: 0 / 386.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.5386, allocations: 8.812 kB / 386.3 MB, free: 13.76 MB / 314.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.001073/0.5397, allocations: 0.541 MB / 386.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5397, allocations: 9.062 kB / 386.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.119e-05/0.5398, allocations: 67.33 kB / 386.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.5399, allocations: 37.11 kB / 386.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.5403, allocations: 254.2 kB / 387.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.5403, allocations: 19.91 kB / 387.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.5404, allocations: 28.94 kB / 387.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.5411, allocations: 246.3 kB / 387.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5411, allocations: 1.406 kB / 387.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.5411, allocations: 11.34 kB / 387.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5412, allocations: 7.844 kB / 387.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005477/0.5417, allocations: 194.1 kB / 387.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.5439, allocations: 1.023 MB / 388.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.5445, allocations: 327.2 kB / 389 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.5445, allocations: 2.781 kB / 389 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.5446, allocations: 38.2 kB / 389 MB, free: 12.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.437e-06/0.5446, allocations: 0 / 389 MB, free: 12.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.002192/0.5468, allocations: 0.7946 MB / 389.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.5469, allocations: 55.19 kB / 389.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.5471, allocations: 171.7 kB / 390.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.5471, allocations: 29.08 kB / 390.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.5472, allocations: 233.8 kB / 390.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.5473, allocations: 89.78 kB / 390.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.5473, allocations: 2.75 kB / 390.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.5474, allocations: 329.1 kB / 390.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.5476, allocations: 74.56 kB / 390.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.5479, allocations: 99.92 kB / 390.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.5481, allocations: 89.58 kB / 391 MB, free: 11.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5481, allocations: 3.938 kB / 391 MB, free: 11.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007873/0.5489, allocations: 326.2 kB / 391.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.549, allocations: 3.906 kB / 391.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.549, allocations: 5.156 kB / 391.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.5494, allocations: 89.3 kB / 391.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.5497, allocations: 49.08 kB / 391.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.5522, allocations: 1.906 MB / 393.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.5525, allocations: 16.3 kB / 393.4 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.5525, allocations: 7.953 kB / 393.4 MB, free: 9.664 MB / 314.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.0002071/0.5527, allocations: 140.1 kB / 393.5 MB, free: 9.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.5528, allocations: 24.78 kB / 393.5 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.5529, allocations: 28.61 kB / 393.6 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5529, allocations: 3.875 kB / 393.6 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.5529, allocations: 0 / 393.6 MB, free: 9.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5529, allocations: 8.906 kB / 393.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.5544, allocations: 0.7426 MB / 394.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.5545, allocations: 0 / 394.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.5548, allocations: 43.3 kB / 394.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.5551, allocations: 74.17 kB / 394.4 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.5552, allocations: 10.02 kB / 394.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.5572, allocations: 1.803 MB / 396.3 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.5572, allocations: 5.438 kB / 396.3 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.5582, allocations: 474.5 kB / 396.7 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.5583, allocations: 91.52 kB / 396.8 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.5584, allocations: 10.25 kB / 396.8 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.5586, allocations: 17.5 kB / 396.8 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.5587, allocations: 18.97 kB / 396.9 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.5588, allocations: 11.31 kB / 396.9 MB, free: 7.523 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.559, allocations: 140.5 kB / 397 MB, free: 7.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.559, allocations: 0 / 397 MB, free: 7.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006299/0.5596, allocations: 84.59 kB / 397.1 MB, free: 7.441 MB / 314.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.001183/0.5608, allocations: 1.017 MB / 398.1 MB, free: 6.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008993/0.5617, allocations: 366.5 kB / 398.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5618, allocations: 0 / 398.5 MB, free: 6.598 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005981/0.5624, allocations: 266.7 kB / 398.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5629, allocations: 34.36 kB / 398.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5663, allocations: 1.959 MB / 400.7 MB, free: 5.395 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.5666, allocations: 0.7725 MB / 401.5 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5668, allocations: 86.34 kB / 401.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of SimCode: time 1.373e-06/0.5668, allocations: 4 kB / 401.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.675/3.242, allocations: 5.071 MB / 406.6 MB, free: 4.387 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat