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.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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.9 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000524/0.0005246, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.126, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5638, allocations: 74.44 MB / 383.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5641, allocations: 85.09 kB / 383.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02308/0.5872, allocations: 5.192 MB / 388.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5872, allocations: 0 / 388.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.5873, allocations: 7.688 kB / 388.7 MB, free: 14.2 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.0013/0.5886, allocations: 0.5738 MB / 389.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.5886, allocations: 11.62 kB / 389.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.144e-05/0.5887, allocations: 23.31 kB / 389.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.5891, allocations: 264.7 kB / 389.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.5891, allocations: 19.56 kB / 389.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.5892, allocations: 14.47 kB / 389.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.59, allocations: 232.4 kB / 389.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.59, allocations: 0 / 389.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.851e-05/0.5901, allocations: 15.17 kB / 389.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.5901, allocations: 3.844 kB / 389.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009583/0.5911, allocations: 231.4 kB / 390.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002113/0.5932, allocations: 0.8969 MB / 391 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009749/0.5942, allocations: 211.9 kB / 391.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.5943, allocations: 7.828 kB / 391.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005997/0.5949, allocations: 175.6 kB / 391.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.345e-06/0.5949, allocations: 0 / 391.4 MB, free: 12.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.003045/0.5979, allocations: 0.5492 MB / 391.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.598, allocations: 102.8 kB / 392 MB, free: 12.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.5984, allocations: 253.8 kB / 392.3 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.5984, allocations: 33.3 kB / 392.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5985, allocations: 222.5 kB / 392.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.5986, allocations: 51.03 kB / 392.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.5986, allocations: 3.312 kB / 392.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.194e-05/0.5987, allocations: 325.2 kB / 392.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.5992, allocations: 95.19 kB / 393 MB, free: 11.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.5997, allocations: 159.8 kB / 393.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.6001, allocations: 122.7 kB / 393.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6002, allocations: 0 / 393.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001627/0.6018, allocations: 378.4 kB / 393.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.6019, allocations: 44.86 kB / 393.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6019, allocations: 0 / 393.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/0.6027, allocations: 97.88 kB / 393.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.603, allocations: 46.66 kB / 393.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.6064, allocations: 1.786 MB / 395.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.607, allocations: 52.27 kB / 395.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.6071, allocations: 11.19 kB / 395.7 MB, free: 10.22 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.0001998/0.6073, allocations: 136.6 kB / 395.8 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.6074, allocations: 19.44 kB / 395.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.6074, allocations: 26.38 kB / 395.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.6074, allocations: 4 kB / 395.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6075, allocations: 2.344 kB / 395.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6075, allocations: 0 / 395.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.6078, allocations: 304.5 kB / 396.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6078, allocations: 0 / 396.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.6081, allocations: 28.75 kB / 396.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006878/0.6088, allocations: 96.61 kB / 396.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.6088, allocations: 3.625 kB / 396.3 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.6117, allocations: 1.66 MB / 397.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6118, allocations: 7.859 kB / 397.9 MB, free: 8.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.6133, allocations: 336 kB / 398.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.241e-05/0.6134, allocations: 102.7 kB / 398.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.623e-05/0.6135, allocations: 5 kB / 398.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.6139, allocations: 34.06 kB / 398.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.614, allocations: 26.95 kB / 398.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.614, allocations: 4 kB / 398.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002362/0.6142, allocations: 184.5 kB / 398.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6143, allocations: 0 / 398.6 MB, free: 8.246 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000493/0.6148, allocations: 72.03 kB / 398.7 MB, free: 8.238 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.0001423/0.6149, allocations: 105.1 kB / 398.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.6162, allocations: 403.1 kB / 399.2 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6162, allocations: 0 / 399.2 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.6168, allocations: 230.2 kB / 399.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.6172, allocations: 34.83 kB / 399.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6183, allocations: 0.5146 MB / 399.9 MB, free: 7.508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.6185, allocations: 0.7561 MB / 400.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6187, allocations: 18.91 kB / 400.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6187, allocations: 0 / 400.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of Templates: time 0.007775/0.6265, allocations: 3.875 MB / 404.6 MB, free: 6.586 MB / 314.7 MB