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.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_cpp_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003563, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09529/0.09569, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.4971, allocations: 74.7 MB / 383.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.4975, allocations: 80.64 kB / 383.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02398/0.5215, allocations: 5.546 MB / 388.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5216, allocations: 0 / 388.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.5216, allocations: 7.562 kB / 388.9 MB, free: 13.82 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001322/0.5229, allocations: 0.6047 MB / 389.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.523, allocations: 11.5 kB / 389.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.5231, allocations: 57.3 kB / 389.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.5232, allocations: 34.11 kB / 389.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.5235, allocations: 281.5 kB / 389.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.5236, allocations: 15.06 kB / 389.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.5236, allocations: 20.69 kB / 389.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008082/0.5245, allocations: 252.2 kB / 390.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5245, allocations: 4 kB / 390.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.5245, allocations: 9.344 kB / 390.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.5246, allocations: 3.844 kB / 390.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009823/0.5256, allocations: 241.1 kB / 390.4 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.5277, allocations: 0.9151 MB / 391.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009912/0.5287, allocations: 326.5 kB / 391.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.5288, allocations: 3.844 kB / 391.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000605/0.5294, allocations: 189 kB / 391.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.825e-06/0.5294, allocations: 0 / 391.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00253/0.5319, allocations: 0.5238 MB / 392.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.532, allocations: 109.6 kB / 392.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.5323, allocations: 233.5 kB / 392.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.5324, allocations: 33.02 kB / 392.7 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5325, allocations: 239.6 kB / 392.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.5326, allocations: 54.08 kB / 393 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.5326, allocations: 3.375 kB / 393 MB, free: 11.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/0.5327, allocations: 324.4 kB / 393.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004528/0.5331, allocations: 105.4 kB / 393.4 MB, free: 11.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.5336, allocations: 169.9 kB / 393.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.5341, allocations: 136.4 kB / 393.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5341, allocations: 0 / 393.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00154/0.5357, allocations: 399.8 kB / 394.1 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.5357, allocations: 32.16 kB / 394.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5358, allocations: 3.875 kB / 394.1 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.5364, allocations: 78.53 kB / 394.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.5369, allocations: 64 kB / 394.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.5394, allocations: 1.497 MB / 395.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.5399, allocations: 63.97 kB / 395.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.54, allocations: 9.281 kB / 395.8 MB, free: 9.801 MB / 314.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.0001945/0.5402, allocations: 139.9 kB / 396 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.5402, allocations: 23.16 kB / 396 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.5403, allocations: 33.34 kB / 396 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5404, allocations: 0 / 396 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5404, allocations: 0 / 396 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5404, allocations: 3.281 kB / 396 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.5423, allocations: 0.7096 MB / 396.7 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.5423, allocations: 3.906 kB / 396.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.5427, allocations: 52.58 kB / 396.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.5433, allocations: 77.95 kB / 396.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.5433, allocations: 3.953 kB / 396.9 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/0.5456, allocations: 1.49 MB / 398.4 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5456, allocations: 0 / 398.4 MB, free: 8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.5476, allocations: 0.5413 MB / 398.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.5477, allocations: 99.28 kB / 399 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.191e-05/0.5477, allocations: 7.062 kB / 399 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.5482, allocations: 38.53 kB / 399.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.5483, allocations: 21.53 kB / 399.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.5484, allocations: 7.094 kB / 399.1 MB, free: 7.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002302/0.5486, allocations: 189.4 kB / 399.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.313e-06/0.5486, allocations: 0 / 399.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.5491, allocations: 77.28 kB / 399.3 MB, free: 7.598 MB / 314.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.00211/0.5512, allocations: 1.157 MB / 400.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.5525, allocations: 416 kB / 400.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5525, allocations: 0 / 400.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000557/0.553, allocations: 228.1 kB / 401.1 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.5535, allocations: 40.72 kB / 401.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.5581, allocations: 2.642 MB / 403.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.5587, allocations: 0.7607 MB / 404.6 MB, free: 20.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.5589, allocations: 85.36 kB / 404.7 MB, free: 20.13 MB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.5589, allocations: 0 / 404.7 MB, free: 20.13 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.632/3.191, allocations: 5.44 MB / 410.1 MB, free: 18.96 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat