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.VoltageFollower.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.VoltageFollower,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_VoltageFollower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005455/0.0005457, allocations: 12 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09188, allocations: 44.52 MB / 308.6 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5027, allocations: 74.39 MB / 382.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.5031, allocations: 82.28 kB / 383 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02171/0.5248, allocations: 5.127 MB / 388.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5249, allocations: 0 / 388.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5249, allocations: 3.812 kB / 388.2 MB, free: 13.92 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.001201/0.5261, allocations: 0.5869 MB / 388.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5261, allocations: 11.78 kB / 388.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/0.5262, allocations: 58 kB / 388.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.5263, allocations: 27.34 kB / 388.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.5266, allocations: 266.5 kB / 389.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.5267, allocations: 13.28 kB / 389.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.5267, allocations: 18.62 kB / 389.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.5275, allocations: 232.8 kB / 389.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.5275, allocations: 2.672 kB / 389.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.5275, allocations: 7.531 kB / 389.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.5276, allocations: 3.875 kB / 389.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.5285, allocations: 227.9 kB / 389.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.5304, allocations: 0.8509 MB / 390.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.5319, allocations: 333.1 kB / 390.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.5319, allocations: 0 / 390.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.5325, allocations: 162.2 kB / 390.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.5325, allocations: 0 / 390.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.002422/0.5349, allocations: 487.5 kB / 391.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.535, allocations: 109.9 kB / 391.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.5353, allocations: 240.7 kB / 391.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.5353, allocations: 29.64 kB / 391.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.5354, allocations: 235.5 kB / 392 MB, free: 11.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.5355, allocations: 38.5 kB / 392 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.5355, allocations: 0 / 392 MB, free: 11.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.5355, allocations: 328.6 kB / 392.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.536, allocations: 94.83 kB / 392.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.5364, allocations: 181.1 kB / 392.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.5369, allocations: 133.3 kB / 392.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5369, allocations: 0 / 392.8 MB, free: 11.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001487/0.5384, allocations: 380 kB / 393.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.5385, allocations: 36.44 kB / 393.2 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5385, allocations: 3.938 kB / 393.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.5391, allocations: 83.03 kB / 393.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.5395, allocations: 54.86 kB / 393.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.5419, allocations: 1.507 MB / 394.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.5424, allocations: 54.16 kB / 394.9 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.5425, allocations: 10.94 kB / 394.9 MB, free: 9.863 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (23): * Single equations (assignments): 21 * 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.0001554/0.5426, allocations: 143.4 kB / 395 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.5427, allocations: 19.44 kB / 395 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.5427, allocations: 25.41 kB / 395.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5427, allocations: 0 / 395.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5427, allocations: 0 / 395.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.5428, allocations: 2.344 kB / 395.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.5444, allocations: 0.6154 MB / 395.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5444, allocations: 0 / 395.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.5446, allocations: 29.25 kB / 395.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.5452, allocations: 78.44 kB / 395.8 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.5452, allocations: 7.891 kB / 395.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.5474, allocations: 1.501 MB / 397.3 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5475, allocations: 4.188 kB / 397.3 MB, free: 8.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.5488, allocations: 358.2 kB / 397.7 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/0.5491, allocations: 109.5 kB / 397.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.5492, allocations: 2.875 kB / 397.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.5497, allocations: 35.55 kB / 397.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5499, allocations: 19.36 kB / 397.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.5499, allocations: 10.94 kB / 397.8 MB, free: 7.781 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002932/0.5502, allocations: 187.8 kB / 398 MB, free: 7.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5502, allocations: 0 / 398 MB, free: 7.699 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007544/0.551, allocations: 61.12 kB / 398.1 MB, free: 7.695 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.553, allocations: 0.9067 MB / 399 MB, free: 7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.5544, allocations: 383.3 kB / 399.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5544, allocations: 0 / 399.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006404/0.555, allocations: 203 kB / 399.5 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005048/0.5556, allocations: 36.52 kB / 399.6 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.5613, allocations: 3.333 MB / 402.9 MB, free: 20.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.5618, allocations: 0.753 MB / 403.7 MB, free: 19.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.562, allocations: 68.94 kB / 403.7 MB, free: 19.49 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5621, allocations: 0 / 403.7 MB, free: 19.49 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.613/3.175, allocations: 4.874 MB / 408.6 MB, free: 18.92 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.VoltageFollower_res.mat does not exist to compare? outputFormat=mat