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.HighPass.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.HighPass,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.0003422, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 44.52 MB / 308.6 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.4969, allocations: 74.7 MB / 383.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.4972, allocations: 82.12 kB / 383.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5211, allocations: 5.548 MB / 388.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5212, allocations: 2.812 kB / 388.9 MB, free: 13.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.5212, allocations: 7.781 kB / 388.9 MB, free: 13.83 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.001307/0.5225, allocations: 0.6037 MB / 389.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5226, allocations: 7.75 kB / 389.5 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.5227, allocations: 58.06 kB / 389.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.512e-05/0.5228, allocations: 34.98 kB / 389.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.5231, allocations: 274.8 kB / 389.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.5232, allocations: 15.31 kB / 389.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.5232, allocations: 18.62 kB / 389.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.524, allocations: 250.7 kB / 390.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.5241, allocations: 0 / 390.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/0.5241, allocations: 10.44 kB / 390.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5241, allocations: 3.875 kB / 390.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009496/0.5251, allocations: 245.7 kB / 390.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.5272, allocations: 0.9397 MB / 391.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008361/0.5281, allocations: 214.4 kB / 391.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.5281, allocations: 0 / 391.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000588/0.5287, allocations: 186.3 kB / 391.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.5288, allocations: 0 / 391.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.002872/0.5316, allocations: 0.5576 MB / 392.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.5317, allocations: 113.1 kB / 392.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.532, allocations: 243.6 kB / 392.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.5321, allocations: 25.7 kB / 392.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.5322, allocations: 236.2 kB / 392.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.5323, allocations: 51.8 kB / 392.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.5323, allocations: 3.188 kB / 392.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.5323, allocations: 320.5 kB / 393.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.5328, allocations: 93.92 kB / 393.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.5333, allocations: 162.9 kB / 393.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.5337, allocations: 135.2 kB / 393.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.5338, allocations: 0 / 393.6 MB, free: 11.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001557/0.5353, allocations: 401.2 kB / 394 MB, free: 11.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.5354, allocations: 40.03 kB / 394.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5354, allocations: 0.5 kB / 394.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007088/0.5361, allocations: 91.88 kB / 394.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.5365, allocations: 62.23 kB / 394.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003195/0.5397, allocations: 1.776 MB / 396 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.5404, allocations: 50.05 kB / 396 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.5405, allocations: 15.22 kB / 396.1 MB, free: 9.789 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 (21): * Single equations (assignments): 19 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002355/0.5407, allocations: 147.1 kB / 396.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.5408, allocations: 19.66 kB / 396.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.873e-05/0.5409, allocations: 26.36 kB / 396.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5409, allocations: 0 / 396.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5409, allocations: 0 / 396.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.541, allocations: 3.953 kB / 396.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.5414, allocations: 309.1 kB / 396.5 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.5414, allocations: 0 / 396.5 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.5418, allocations: 38.17 kB / 396.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008015/0.5426, allocations: 102 kB / 396.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.5427, allocations: 3.812 kB / 396.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003448/0.5461, allocations: 1.66 MB / 398.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5462, allocations: 0 / 398.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.5486, allocations: 452.9 kB / 398.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5487, allocations: 115 kB / 398.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.684e-05/0.5488, allocations: 448 / 398.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.5493, allocations: 33.48 kB / 398.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.5494, allocations: 22.45 kB / 399 MB, free: 7.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.5495, allocations: 10.98 kB / 399 MB, free: 7.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003105/0.5498, allocations: 193.1 kB / 399.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5498, allocations: 0 / 399.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007614/0.5506, allocations: 81.41 kB / 399.2 MB, free: 7.793 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002694/0.5533, allocations: 0.989 MB / 400.2 MB, free: 7.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.5549, allocations: 404.3 kB / 400.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5549, allocations: 0 / 400.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.5557, allocations: 241.3 kB / 400.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.5562, allocations: 44.25 kB / 400.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/0.5626, allocations: 2.616 MB / 403.5 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.5632, allocations: 0.7632 MB / 404.3 MB, free: 20.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.5634, allocations: 77.64 kB / 404.4 MB, free: 20.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.783e-06/0.5635, allocations: 0 / 404.4 MB, free: 20.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.699/3.263, allocations: 5.362 MB / 409.7 MB, free: 19.38 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.HighPass_res.mat does not exist to compare? outputFormat=mat