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.InvertingSchmittTrigger.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.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 194.8 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003596, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09546, allocations: 44.51 MB / 308.5 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5099, allocations: 74.46 MB / 383 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.5103, allocations: 81.12 kB / 383.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0234/0.5337, allocations: 5.187 MB / 388.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5338, allocations: 0 / 388.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.5338, allocations: 3.812 kB / 388.3 MB, free: 13.86 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.001279/0.5351, allocations: 0.5844 MB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5351, allocations: 8.281 kB / 388.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.752e-05/0.5352, allocations: 60.28 kB / 388.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.5353, allocations: 28 kB / 389 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.5357, allocations: 266.1 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.5357, allocations: 11.53 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/0.5358, allocations: 21.91 kB / 389.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.5365, allocations: 232.7 kB / 389.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5366, allocations: 7.922 kB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.5366, allocations: 10.38 kB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5366, allocations: 3.969 kB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009253/0.5376, allocations: 225.1 kB / 389.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5397, allocations: 0.897 MB / 390.6 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009863/0.5407, allocations: 218.1 kB / 390.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.5407, allocations: 0 / 390.8 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006321/0.5414, allocations: 178.8 kB / 391 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.866e-06/0.5414, allocations: 0 / 391 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.002963/0.5444, allocations: 0.5524 MB / 391.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.5445, allocations: 102.8 kB / 391.7 MB, free: 12.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.5448, allocations: 239.3 kB / 391.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.5449, allocations: 28.89 kB / 391.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.545, allocations: 234.1 kB / 392.1 MB, free: 11.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.5451, allocations: 41.39 kB / 392.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.5451, allocations: 7.688 kB / 392.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.5452, allocations: 321.8 kB / 392.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.5456, allocations: 96.72 kB / 392.6 MB, free: 11.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004891/0.5461, allocations: 168.1 kB / 392.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004715/0.5466, allocations: 133.1 kB / 392.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5466, allocations: 3.938 kB / 392.9 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001582/0.5482, allocations: 388.7 kB / 393.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.5483, allocations: 40.48 kB / 393.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5483, allocations: 3.844 kB / 393.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007475/0.5491, allocations: 102.9 kB / 393.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.5494, allocations: 42.88 kB / 393.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/0.5527, allocations: 1.768 MB / 395.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005781/0.5533, allocations: 51.89 kB / 395.3 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.5533, allocations: 11.44 kB / 395.3 MB, free: 9.824 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0002212/0.5536, allocations: 150.4 kB / 395.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.5536, allocations: 23.09 kB / 395.5 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/0.5537, allocations: 23.34 kB / 395.5 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5537, allocations: 0 / 395.5 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5537, allocations: 4 kB / 395.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5537, allocations: 2.672 kB / 395.5 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.5541, allocations: 290.5 kB / 395.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5541, allocations: 0 / 395.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.5543, allocations: 35.19 kB / 395.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.555, allocations: 93.06 kB / 395.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.5551, allocations: 3.938 kB / 395.9 MB, free: 9.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.5581, allocations: 1.761 MB / 397.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5581, allocations: 192 / 397.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.5596, allocations: 338 kB / 398 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.5597, allocations: 99.12 kB / 398.1 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.5598, allocations: 7.953 kB / 398.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.5602, allocations: 38.59 kB / 398.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5603, allocations: 19.28 kB / 398.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5603, allocations: 7.125 kB / 398.2 MB, free: 7.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002446/0.5606, allocations: 185.9 kB / 398.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5606, allocations: 0 / 398.3 MB, free: 7.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006249/0.5612, allocations: 75.97 kB / 398.4 MB, free: 7.754 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.0017/0.5629, allocations: 0.8741 MB / 399.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.5642, allocations: 391.7 kB / 399.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.5643, allocations: 0.5 kB / 399.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.5649, allocations: 237.4 kB / 399.9 MB, free: 6.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.5654, allocations: 36.2 kB / 399.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00637/0.5718, allocations: 2.985 MB / 402.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.5723, allocations: 0.756 MB / 403.7 MB, free: 20.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.5725, allocations: 69.33 kB / 403.8 MB, free: 20.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5725, allocations: 0 / 403.8 MB, free: 20.21 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/3.239, allocations: 4.938 MB / 408.7 MB, free: 19.5 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.InvertingSchmittTrigger_res.mat does not exist to compare? outputFormat=mat