Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 194.8 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003695, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.5201, allocations: 74.69 MB / 383.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5204, allocations: 87.95 kB / 383.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02628/0.5467, allocations: 5.557 MB / 388.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5468, allocations: 0 / 388.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.5468, allocations: 4 kB / 388.9 MB, free: 12.3 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001514/0.5483, allocations: 0.6095 MB / 389.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.5484, allocations: 12.03 kB / 389.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.923e-05/0.5485, allocations: 50.55 kB / 389.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.5486, allocations: 35.62 kB / 389.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.5491, allocations: 274.4 kB / 389.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.5491, allocations: 16.44 kB / 389.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/0.5492, allocations: 24 kB / 389.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.5501, allocations: 247.2 kB / 390.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.5502, allocations: 0 / 390.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.5502, allocations: 12 kB / 390.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.5502, allocations: 4 kB / 390.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.5514, allocations: 241.6 kB / 390.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.5539, allocations: 0.9243 MB / 391.3 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.555, allocations: 315.5 kB / 391.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.5551, allocations: 4 kB / 391.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/0.5558, allocations: 185.8 kB / 391.8 MB, free: 9.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 6.071e-06/0.5558, allocations: 0 / 391.8 MB, free: 9.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002875/0.5587, allocations: 0.5279 MB / 392.4 MB, free: 8.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.5588, allocations: 110.8 kB / 392.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.5593, allocations: 237.9 kB / 392.7 MB, free: 8.227 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.5593, allocations: 33.7 kB / 392.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.5595, allocations: 175.8 kB / 392.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.5596, allocations: 55.2 kB / 393 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.5596, allocations: 4 kB / 393 MB, free: 7.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5598, allocations: 338.8 kB / 393.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/0.5603, allocations: 104.4 kB / 393.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.5609, allocations: 168.7 kB / 393.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.5615, allocations: 134.6 kB / 393.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5615, allocations: 4 kB / 393.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001831/0.5633, allocations: 412.6 kB / 394.1 MB, free: 6.758 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.5634, allocations: 37.7 kB / 394.1 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5634, allocations: 4 kB / 394.1 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006786/0.5641, allocations: 72.8 kB / 394.2 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.5647, allocations: 71.98 kB / 394.3 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.5677, allocations: 1.503 MB / 395.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.5684, allocations: 59.61 kB / 395.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.5684, allocations: 4 kB / 395.9 MB, free: 4.863 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.5687, allocations: 145.8 kB / 396 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.5688, allocations: 23.72 kB / 396 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.892e-05/0.5689, allocations: 26.17 kB / 396 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.5689, allocations: 4 kB / 396 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5689, allocations: 0 / 396 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.5689, allocations: 0 / 396 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.5712, allocations: 0.7067 MB / 396.8 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5713, allocations: 0 / 396.8 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.5717, allocations: 59.92 kB / 396.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006137/0.5723, allocations: 72.8 kB / 396.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.5724, allocations: 11.95 kB / 396.9 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.5752, allocations: 1.493 MB / 398.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5753, allocations: 0 / 398.4 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.5774, allocations: 0.528 MB / 398.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.5776, allocations: 108.8 kB / 399 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.5777, allocations: 11.98 kB / 399 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.5781, allocations: 31.97 kB / 399.1 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.5783, allocations: 19.97 kB / 399.1 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.5783, allocations: 4 kB / 399.1 MB, free: 1.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002928/0.5786, allocations: 194 kB / 399.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5786, allocations: 3.938 kB / 399.3 MB, free: 1.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005367/0.5792, allocations: 75.84 kB / 399.4 MB, free: 1.094 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002596/0.5818, allocations: 1.147 MB / 400.5 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.5832, allocations: 411.1 kB / 400.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5833, allocations: 0 / 400.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006602/0.5839, allocations: 238.5 kB / 401.1 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.5844, allocations: 44.47 kB / 401.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.5899, allocations: 2.608 MB / 403.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.5904, allocations: 0.7637 MB / 404.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.5907, allocations: 26.3 kB / 404.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.5909, allocations: 79.41 kB / 404.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5909, allocations: 0 / 404.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.631, allocations: 5.539 MB / 410.2 MB, free: 6.102 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/0.6313, allocations: 210 kB / 410.4 MB, free: 5.859 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.548, allocations: 4 kB / 410.4 MB, free: 5.855 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat