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.InvertingSchmittTrigger.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.InvertingSchmittTrigger,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.InvertingSchmittTrigger") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005853/0.0005854, allocations: 8 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1033, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4363, allocations: 74.45 MB / 382.9 MB, free: 18.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4366, allocations: 84.19 kB / 383 MB, free: 18.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02014/0.4568, allocations: 5.189 MB / 388.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.4568, allocations: 0 / 388.2 MB, free: 18.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.4568, allocations: 4.281 kB / 388.2 MB, free: 18.29 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.0009492/0.4578, allocations: 0.5829 MB / 388.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4579, allocations: 11.59 kB / 388.8 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.4579, allocations: 23.28 kB / 388.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.4583, allocations: 264.7 kB / 389.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4583, allocations: 15.5 kB / 389.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.4584, allocations: 22.88 kB / 389.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.459, allocations: 230.6 kB / 389.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.459, allocations: 0 / 389.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.459, allocations: 11 kB / 389.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.459, allocations: 3.719 kB / 389.3 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000674/0.4597, allocations: 230.5 kB / 389.6 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.4615, allocations: 0.8901 MB / 390.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.4622, allocations: 219.6 kB / 390.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4622, allocations: 3.953 kB / 390.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.4627, allocations: 172.6 kB / 390.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.4627, allocations: 0 / 390.8 MB, free: 16.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.002004/0.4647, allocations: 0.5554 MB / 391.4 MB, free: 16.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.4648, allocations: 106.6 kB / 391.5 MB, free: 16.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.4651, allocations: 232.5 kB / 391.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4652, allocations: 29.33 kB / 391.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.4653, allocations: 237.6 kB / 392 MB, free: 16.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.4653, allocations: 39.45 kB / 392 MB, free: 16.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.4653, allocations: 7.312 kB / 392 MB, free: 16.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.4654, allocations: 320.5 kB / 392.3 MB, free: 16.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.4658, allocations: 104.2 kB / 392.4 MB, free: 16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.4662, allocations: 168.9 kB / 392.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.4666, allocations: 124.7 kB / 392.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.5e-06/0.4666, allocations: 3.938 kB / 392.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001298/0.4679, allocations: 405 kB / 393.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.4679, allocations: 35.98 kB / 393.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/0.468, allocations: 3.875 kB / 393.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.4685, allocations: 104.4 kB / 393.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.4687, allocations: 42.55 kB / 393.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.4713, allocations: 1.774 MB / 395.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.4718, allocations: 55.25 kB / 395.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.4718, allocations: 3.969 kB / 395.1 MB, free: 14.3 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.0001734/0.472, allocations: 147.9 kB / 395.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.4721, allocations: 25.05 kB / 395.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.4721, allocations: 25.89 kB / 395.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4722, allocations: 3.844 kB / 395.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4722, allocations: 5.672 kB / 395.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.201e-06/0.4722, allocations: 0 / 395.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.4725, allocations: 287.1 kB / 395.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-06/0.4725, allocations: 0 / 395.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.4727, allocations: 32.05 kB / 395.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005117/0.4732, allocations: 92.44 kB / 395.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.4732, allocations: 3.875 kB / 395.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.4757, allocations: 1.766 MB / 397.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-06/0.4758, allocations: 0 / 397.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.477, allocations: 331.6 kB / 397.8 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.879e-05/0.4771, allocations: 103.8 kB / 397.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.4771, allocations: 11.14 kB / 398 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.4774, allocations: 29.7 kB / 398 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.4775, allocations: 21.05 kB / 398 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4776, allocations: 7.375 kB / 398 MB, free: 12.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002206/0.4778, allocations: 186.9 kB / 398.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.17e-07/0.4778, allocations: 0 / 398.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005644/0.4784, allocations: 75.03 kB / 398.3 MB, free: 12.23 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.0001279/0.4785, allocations: 102.5 kB / 398.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.4796, allocations: 405.1 kB / 398.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.241e-06/0.4796, allocations: 0 / 398.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004485/0.48, allocations: 229.9 kB / 399 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.4804, allocations: 30.31 kB / 399 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.4827, allocations: 0.7189 MB / 399.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.4829, allocations: 0.7523 MB / 400.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.483, allocations: 18.91 kB / 400.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.609e-06/0.483, allocations: 0 / 400.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of Templates: time 0.006585/0.4896, allocations: 3.905 MB / 404.4 MB, free: 10.57 MB / 314.7 MB