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: 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_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.285/2.285, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003755, allocations: 15.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1056, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5464, allocations: 74.45 MB / 383.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5468, allocations: 83.62 kB / 383.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02441/0.5712, allocations: 5.181 MB / 388.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5713, allocations: 3.875 kB / 388.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.5713, allocations: 3.906 kB / 388.8 MB, free: 14.81 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.001435/0.5728, allocations: 0.5765 MB / 389.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.5728, allocations: 15.44 kB / 389.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.5729, allocations: 27.25 kB / 389.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.5733, allocations: 266.7 kB / 389.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.5734, allocations: 15.88 kB / 389.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.5734, allocations: 15.22 kB / 389.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.5743, allocations: 244.7 kB / 389.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5743, allocations: 3.984 kB / 389.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.5743, allocations: 3.312 kB / 389.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.5744, allocations: 3.875 kB / 389.9 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5754, allocations: 231.3 kB / 390.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.5777, allocations: 0.8945 MB / 391.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.5787, allocations: 218.8 kB / 391.3 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.5788, allocations: 3.953 kB / 391.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006623/0.5795, allocations: 172.5 kB / 391.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.645e-06/0.5795, allocations: 0 / 391.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.003142/0.5826, allocations: 0.5451 MB / 392 MB, free: 13.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.5828, allocations: 109.5 kB / 392.1 MB, free: 13.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.5832, allocations: 258.7 kB / 392.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/0.5833, allocations: 25.7 kB / 392.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5834, allocations: 175.8 kB / 392.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.5835, allocations: 41.28 kB / 392.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.5835, allocations: 7.469 kB / 392.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.5836, allocations: 337.6 kB / 392.9 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.5841, allocations: 94.16 kB / 393 MB, free: 12.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/0.5846, allocations: 151 kB / 393.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.5851, allocations: 138.1 kB / 393.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.5851, allocations: 0 / 393.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001812/0.5869, allocations: 389.6 kB / 393.7 MB, free: 12.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.368e-05/0.587, allocations: 36.78 kB / 393.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.5871, allocations: 7.844 kB / 393.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.5883, allocations: 98.12 kB / 393.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.5889, allocations: 39.12 kB / 393.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/0.595, allocations: 1.79 MB / 395.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/0.596, allocations: 47.38 kB / 395.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.5961, allocations: 15.59 kB / 395.7 MB, free: 10.89 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.0003639/0.5965, allocations: 139.2 kB / 395.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.5967, allocations: 23.48 kB / 395.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.5967, allocations: 25.06 kB / 395.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5968, allocations: 0 / 395.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5968, allocations: 0 / 395.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5968, allocations: 3.875 kB / 395.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004495/0.5973, allocations: 296.9 kB / 396.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.5973, allocations: 192 / 396.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.5976, allocations: 39.36 kB / 396.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.5989, allocations: 97.86 kB / 396.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.5991, allocations: 3.938 kB / 396.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004511/0.6036, allocations: 1.662 MB / 398 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6037, allocations: 0 / 398 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.606, allocations: 331.3 kB / 398.3 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.6063, allocations: 99.53 kB / 398.4 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.6064, allocations: 3.625 kB / 398.4 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006029/0.607, allocations: 42.86 kB / 398.5 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.6072, allocations: 27.44 kB / 398.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.6073, allocations: 3.094 kB / 398.5 MB, free: 8.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003833/0.6077, allocations: 180.4 kB / 398.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6077, allocations: 0 / 398.7 MB, free: 8.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008576/0.6086, allocations: 73.03 kB / 398.7 MB, free: 8.902 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.0002264/0.6089, allocations: 109.3 kB / 398.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.6108, allocations: 400.7 kB / 399.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.6109, allocations: 0 / 399.2 MB, free: 8.617 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.612, allocations: 235.9 kB / 399.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005978/0.6126, allocations: 30.05 kB / 399.5 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6143, allocations: 0.4897 MB / 400 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.6147, allocations: 0.7498 MB / 400.7 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003005/0.615, allocations: 28.36 kB / 400.8 MB, free: 7.496 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6152, allocations: 18.97 kB / 400.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6152, allocations: 0 / 400.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of Templates: time 0.0149/0.6301, allocations: 3.202 MB / 404 MB, free: 7.262 MB / 314.7 MB