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.InvertingAmp.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.InvertingAmp,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 8 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09155, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5265, allocations: 74.41 MB / 383 MB, free: 14.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5268, allocations: 84.78 kB / 383 MB, free: 14.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02328/0.5501, allocations: 5.157 MB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5502, allocations: 0 / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.5502, allocations: 3.812 kB / 388.2 MB, free: 14.3 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001314/0.5516, allocations: 0.5872 MB / 388.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5516, allocations: 7.688 kB / 388.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.799e-05/0.5517, allocations: 52.77 kB / 388.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.5518, allocations: 28.95 kB / 388.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.5522, allocations: 259.6 kB / 389.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.5522, allocations: 23.53 kB / 389.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.5523, allocations: 16.69 kB / 389.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008019/0.5531, allocations: 237.8 kB / 389.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.5531, allocations: 0 / 389.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.5532, allocations: 7.656 kB / 389.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5532, allocations: 3.844 kB / 389.4 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009428/0.5541, allocations: 227.6 kB / 389.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.5563, allocations: 0.8944 MB / 390.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009776/0.5573, allocations: 218.6 kB / 390.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.5574, allocations: 3.875 kB / 390.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005931/0.558, allocations: 165 kB / 390.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.128e-06/0.558, allocations: 0 / 390.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.003026/0.561, allocations: 0.5492 MB / 391.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.5611, allocations: 110.1 kB / 391.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.5615, allocations: 224.6 kB / 391.8 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.5615, allocations: 31.78 kB / 391.8 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5617, allocations: 223.5 kB / 392 MB, free: 12.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.5617, allocations: 56 kB / 392.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.5617, allocations: 0 / 392.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.5618, allocations: 318 kB / 392.4 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.5623, allocations: 102.3 kB / 392.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.5627, allocations: 149.6 kB / 392.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.5632, allocations: 122.9 kB / 392.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5632, allocations: 0 / 392.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001598/0.5648, allocations: 385.5 kB / 393.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.5649, allocations: 39.41 kB / 393.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.565, allocations: 3.875 kB / 393.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.5657, allocations: 93.77 kB / 393.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.5661, allocations: 47.61 kB / 393.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.5694, allocations: 1.779 MB / 395.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.57, allocations: 45.98 kB / 395.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.57, allocations: 7.719 kB / 395.2 MB, free: 10.29 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 (18): * Single equations (assignments): 16 * 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.0001939/0.5702, allocations: 141.8 kB / 395.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.5703, allocations: 23.28 kB / 395.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.5703, allocations: 26.08 kB / 395.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5703, allocations: 0 / 395.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5703, allocations: 0 / 395.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5704, allocations: 2.016 kB / 395.3 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.5707, allocations: 296.1 kB / 395.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5707, allocations: 0 / 395.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.5709, allocations: 25.12 kB / 395.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006751/0.5716, allocations: 103.4 kB / 395.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.5717, allocations: 4 kB / 395.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002835/0.5745, allocations: 1.661 MB / 397.4 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5746, allocations: 8 kB / 397.4 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.5761, allocations: 336.3 kB / 397.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.5762, allocations: 98.64 kB / 397.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.408e-05/0.5763, allocations: 3.938 kB / 397.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.5767, allocations: 31.05 kB / 397.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5768, allocations: 26.06 kB / 397.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.5768, allocations: 15.09 kB / 397.9 MB, free: 8.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.5771, allocations: 178.9 kB / 398.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5771, allocations: 0 / 398.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005314/0.5776, allocations: 69.28 kB / 398.2 MB, free: 8.297 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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.001735/0.5794, allocations: 0.8747 MB / 399.1 MB, free: 7.668 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5806, allocations: 392.2 kB / 399.4 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5807, allocations: 0 / 399.4 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.5813, allocations: 227.6 kB / 399.7 MB, free: 7.359 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.5817, allocations: 38.62 kB / 399.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.586, allocations: 2.44 MB / 402.1 MB, free: 5.809 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5862, allocations: 0.7525 MB / 402.9 MB, free: 5.105 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.5864, allocations: 68.45 kB / 403 MB, free: 5.098 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.5864, allocations: 0 / 403 MB, free: 5.098 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/3.256, allocations: 4.911 MB / 407.9 MB, free: 4.461 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat does not exist to compare? outputFormat=mat