Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005595/0.00056, allocations: 8 kB / 263.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.0931, allocations: 44.51 MB / 308.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4251, allocations: 74.44 MB / 382.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4254, allocations: 85.3 kB / 383 MB, free: 18.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.4451, allocations: 5.183 MB / 388.2 MB, free: 18.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.174e-06/0.4451, allocations: 0 / 388.2 MB, free: 18.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.4451, allocations: 3.969 kB / 388.2 MB, free: 18.17 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.0009337/0.4461, allocations: 0.5849 MB / 388.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4461, allocations: 7.719 kB / 388.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.4462, allocations: 27.38 kB / 388.8 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.4466, allocations: 268 kB / 389.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4466, allocations: 15.25 kB / 389.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.4466, allocations: 15.25 kB / 389.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006032/0.4473, allocations: 237.9 kB / 389.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4473, allocations: 4 kB / 389.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.4473, allocations: 9.641 kB / 389.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-06/0.4474, allocations: 3.906 kB / 389.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007716/0.4481, allocations: 227.8 kB / 389.6 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.4498, allocations: 0.8953 MB / 390.4 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007622/0.4506, allocations: 212.6 kB / 390.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.4507, allocations: 5.734 kB / 390.7 MB, free: 16.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.4512, allocations: 169.7 kB / 390.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.118e-06/0.4512, allocations: 0 / 390.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.002041/0.4532, allocations: 0.5521 MB / 391.4 MB, free: 16.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.4533, allocations: 108.5 kB / 391.5 MB, free: 16.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.4536, allocations: 233.3 kB / 391.7 MB, free: 16.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.4536, allocations: 29.67 kB / 391.7 MB, free: 16.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.4538, allocations: 225.2 kB / 392 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.4538, allocations: 47.75 kB / 392 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.4538, allocations: 3.375 kB / 392 MB, free: 16.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.4539, allocations: 323.8 kB / 392.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.4542, allocations: 96.23 kB / 392.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.4546, allocations: 149.7 kB / 392.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.455, allocations: 134.3 kB / 392.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.133e-06/0.455, allocations: 0 / 392.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001323/0.4564, allocations: 381.6 kB / 393.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.4564, allocations: 37.09 kB / 393.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.065e-06/0.4565, allocations: 3.938 kB / 393.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/0.457, allocations: 99.83 kB / 393.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.4572, allocations: 41.69 kB / 393.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.4598, allocations: 1.797 MB / 395 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.4603, allocations: 48.83 kB / 395.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.4603, allocations: 3.812 kB / 395.1 MB, free: 14.19 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.0001752/0.4605, allocations: 144.5 kB / 395.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.4605, allocations: 15.53 kB / 395.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.4606, allocations: 28.3 kB / 395.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4606, allocations: 0 / 395.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-06/0.4606, allocations: 0 / 395.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.629e-06/0.4606, allocations: 3.562 kB / 395.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.461, allocations: 294 kB / 395.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-06/0.461, allocations: 0 / 395.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.4612, allocations: 30.39 kB / 395.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004401/0.4616, allocations: 97.81 kB / 395.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.4616, allocations: 0 / 395.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.4639, allocations: 1.675 MB / 397.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.342e-06/0.464, allocations: 0 / 397.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.465, allocations: 332.2 kB / 397.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.4651, allocations: 99.05 kB / 397.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.4652, allocations: 6.406 kB / 397.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4654, allocations: 38.59 kB / 397.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4656, allocations: 23.53 kB / 397.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.4656, allocations: 11.23 kB / 397.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.4658, allocations: 184.6 kB / 398.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.4659, allocations: 0 / 398.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.4664, allocations: 68.78 kB / 398.1 MB, free: 12.21 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.0001319/0.4665, allocations: 105.9 kB / 398.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009202/0.4674, allocations: 396.8 kB / 398.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.4675, allocations: 3.875 kB / 398.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.468, allocations: 229.2 kB / 398.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.4683, allocations: 33.78 kB / 398.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.4693, allocations: 0.5239 MB / 399.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001762/0.4695, allocations: 0.751 MB / 400.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.151e-05/0.4696, allocations: 18.81 kB / 400.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.549e-06/0.4696, allocations: 0 / 400.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of Templates: time 0.006463/0.4761, allocations: 3.884 MB / 404 MB, free: 10.55 MB / 314.7 MB