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.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.2 MB / 186.8 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005046, allocations: 8 kB / 233.3 MB, free: 0.8281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08361/0.08415, allocations: 38.76 MB / 272.1 MB, free: 9.98 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4095, allocations: 69.5 MB / 341.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4098, allocations: 71.91 kB / 341.7 MB, free: 13.31 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05505/0.4649, allocations: 13.27 MB / 354.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4649, allocations: 0 / 354.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.126e-05/0.465, allocations: 20 kB / 355 MB, free: 15.97 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002837/0.4678, allocations: 1.072 MB / 356 MB, free: 14.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4679, allocations: 8.031 kB / 356 MB, free: 14.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002736/0.4682, allocations: 144 kB / 356.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.4684, allocations: 106.8 kB / 356.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.4693, allocations: 438 kB / 356.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.4694, allocations: 70 kB / 356.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.4696, allocations: 96 kB / 356.9 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.4718, allocations: 0.8557 MB / 357.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.4719, allocations: 0 / 357.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.472, allocations: 40 kB / 357.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.4721, allocations: 27.94 kB / 357.8 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4737, allocations: 0.5778 MB / 358.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007216/0.481, allocations: 3.003 MB / 361.4 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006982/0.4817, allocations: 298.2 kB / 361.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/0.4818, allocations: 4 kB / 361.7 MB, free: 9.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4818, allocations: 42.55 kB / 361.7 MB, free: 8.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.366e-06/0.4818, allocations: 0 / 361.7 MB, free: 8.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.00236/0.4842, allocations: 0.6471 MB / 362.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.4843, allocations: 59.36 kB / 362.4 MB, free: 8.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008153/0.4851, allocations: 461.7 kB / 362.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.4852, allocations: 41.64 kB / 362.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.4856, allocations: 0.5233 MB / 363.4 MB, free: 7.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.4858, allocations: 153.9 kB / 363.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.4859, allocations: 16 kB / 363.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4861, allocations: 338.8 kB / 363.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.4866, allocations: 169.9 kB / 364.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.4874, allocations: 445.6 kB / 364.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.4881, allocations: 238 kB / 364.8 MB, free: 5.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.4881, allocations: 4 kB / 364.8 MB, free: 5.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001976/0.4901, allocations: 0.7263 MB / 365.5 MB, free: 4.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.4901, allocations: 12 kB / 365.5 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.4902, allocations: 12 kB / 365.5 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004447/0.4906, allocations: 80.81 kB / 365.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.4919, allocations: 207.6 kB / 365.8 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002778/0.4947, allocations: 1.823 MB / 367.6 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/0.4957, allocations: 87.11 kB / 367.7 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.4958, allocations: 36 kB / 367.7 MB, free: 2.582 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0004879/0.4963, allocations: 216.5 kB / 368 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4964, allocations: 59.34 kB / 368 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/0.4966, allocations: 65.59 kB / 368.1 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4966, allocations: 11.89 kB / 368.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4966, allocations: 4 kB / 368.1 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4966, allocations: 0 / 368.1 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.4978, allocations: 0.6376 MB / 368.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4978, allocations: 0 / 368.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.4986, allocations: 103.9 kB / 368.8 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003811/0.499, allocations: 72.73 kB / 368.9 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.4991, allocations: 15.98 kB / 368.9 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/0.5017, allocations: 1.827 MB / 370.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5017, allocations: 0 / 370.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.5033, allocations: 0.662 MB / 371.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.5035, allocations: 136.4 kB / 371.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.5037, allocations: 11.95 kB / 371.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007384/0.5044, allocations: 52.53 kB / 371.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.5046, allocations: 35.89 kB / 371.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.5046, allocations: 8 kB / 371.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006006/0.5052, allocations: 342.9 kB / 372 MB, free: 14.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5052, allocations: 0 / 372 MB, free: 14.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001169/0.5064, allocations: 251.2 kB / 372.2 MB, free: 13.87 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.001996/0.5084, allocations: 1.214 MB / 373.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.51, allocations: 0.5982 MB / 374 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.51, allocations: 4 kB / 374 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007617/0.5108, allocations: 322.2 kB / 374.4 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009041/0.5117, allocations: 106.9 kB / 374.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5221, allocations: 9.918 MB / 384.4 MB, free: 1.402 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.5228, allocations: 0.9418 MB / 385.3 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.5234, allocations: 271.3 kB / 385.6 MB, free: 172 kB / 314.7 MB Notification: Performance of SimCode: time 5.551e-06/0.5234, allocations: 0 / 385.6 MB, free: 172 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/3.238, allocations: 14 MB / 399.6 MB, free: 2.156 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat