Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_SchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004906/0.0004907, allocations: 8 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3516, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.5644, allocations: 74.45 MB / 383 MB, free: 2.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/0.5648, allocations: 83.94 kB / 383.1 MB, free: 2.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02942/0.5942, allocations: 5.178 MB / 388.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5943, allocations: 0 / 388.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/0.5943, allocations: 4 kB / 388.3 MB, free: 12.92 MB / 330.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.002126/0.5965, allocations: 0.5914 MB / 388.9 MB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.5966, allocations: 8.031 kB / 388.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.5967, allocations: 54.55 kB / 388.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.5969, allocations: 27.72 kB / 389 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.5975, allocations: 262.5 kB / 389.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.5976, allocations: 20.38 kB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.5977, allocations: 16 kB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.5989, allocations: 231.2 kB / 389.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.599, allocations: 0 / 389.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.599, allocations: 8 kB / 389.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.5991, allocations: 4 kB / 389.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.6005, allocations: 229.6 kB / 389.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.6037, allocations: 0.9001 MB / 390.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.6051, allocations: 218.5 kB / 390.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.6052, allocations: 3.938 kB / 390.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008919/0.6061, allocations: 173.9 kB / 391 MB, free: 9.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.677e-06/0.6061, allocations: 0 / 391 MB, free: 9.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.004415/0.6106, allocations: 0.55 MB / 391.6 MB, free: 9.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.6107, allocations: 114.8 kB / 391.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00057/0.6113, allocations: 224.1 kB / 391.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.6114, allocations: 37.7 kB / 391.9 MB, free: 9.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.6116, allocations: 171.9 kB / 392.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/0.6117, allocations: 43.45 kB / 392.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.6118, allocations: 4 kB / 392.1 MB, free: 8.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.612, allocations: 334.8 kB / 392.5 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/0.6127, allocations: 95.98 kB / 392.6 MB, free: 8.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007482/0.6135, allocations: 148 kB / 392.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007241/0.6142, allocations: 140.3 kB / 392.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6143, allocations: 0 / 392.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002397/0.6167, allocations: 391.8 kB / 393.2 MB, free: 7.637 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.6168, allocations: 37.64 kB / 393.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.6168, allocations: 4 kB / 393.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.6178, allocations: 92.78 kB / 393.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.6184, allocations: 43.97 kB / 393.4 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005353/0.6238, allocations: 1.785 MB / 395.2 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.6246, allocations: 52 kB / 395.2 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.6246, allocations: 8 kB / 395.3 MB, free: 5.461 MB / 330.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.0002952/0.6249, allocations: 140 kB / 395.4 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.061e-05/0.625, allocations: 23.81 kB / 395.4 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.6252, allocations: 29.83 kB / 395.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6252, allocations: 0 / 395.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6252, allocations: 0 / 395.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.6252, allocations: 0 / 395.4 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.6258, allocations: 297.3 kB / 395.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6258, allocations: 4 kB / 395.7 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.6262, allocations: 27.97 kB / 395.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/0.6271, allocations: 96.78 kB / 395.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.6272, allocations: 0 / 395.9 MB, free: 4.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.6317, allocations: 1.669 MB / 397.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.6318, allocations: 0 / 397.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.6339, allocations: 342.1 kB / 397.9 MB, free: 2.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.6341, allocations: 104.8 kB / 398 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-05/0.6342, allocations: 4 kB / 398 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005374/0.6347, allocations: 35.97 kB / 398 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.6349, allocations: 23.92 kB / 398 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.6349, allocations: 11.92 kB / 398 MB, free: 2.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003888/0.6353, allocations: 180.5 kB / 398.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6353, allocations: 0 / 398.2 MB, free: 2.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008583/0.6362, allocations: 71.84 kB / 398.3 MB, free: 2.184 MB / 330.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.002628/0.6388, allocations: 0.8745 MB / 399.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.6407, allocations: 389.8 kB / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6407, allocations: 0 / 399.5 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.6417, allocations: 230.9 kB / 399.8 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.6422, allocations: 40.41 kB / 399.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006996/0.6492, allocations: 2.425 MB / 402.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.6499, allocations: 0.7518 MB / 403 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.6502, allocations: 17.95 kB / 403 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.6504, allocations: 75.41 kB / 403.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6505, allocations: 0 / 403.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.6875, allocations: 5.347 MB / 408.4 MB, free: 7.906 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/0.6879, allocations: 221.9 kB / 408.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/3.515, allocations: 0 / 408.6 MB, free: 7.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger_res.mat does not exist to compare? outputFormat=mat