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.822/1.822, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 12 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0791/0.07949, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003407/0.08295, allocations: 2.2 MB / 310.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.08431, allocations: 0.6402 MB / 311.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.08448, allocations: 7.938 kB / 311.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.31e-05/0.08457, allocations: 27.81 kB / 311.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.08486, allocations: 99.66 kB / 311.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.08511, allocations: 43.89 kB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.0855, allocations: 227.4 kB / 311.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.08569, allocations: 69.08 kB / 311.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.08588, allocations: 107.6 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.0861, allocations: 123.5 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.08616, allocations: 16 kB / 311.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.276e-05/0.08623, allocations: 12 kB / 311.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.0863, allocations: 47.81 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.08642, allocations: 73.52 kB / 312 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.08675, allocations: 227.6 kB / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.577e-06/0.08676, allocations: 0 / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.08677, allocations: 0 / 312.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.08679, allocations: 0 / 312.3 MB, free: 13.09 MB / 266.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.001175/0.08798, allocations: 0.5833 MB / 312.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.08803, allocations: 8.031 kB / 312.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.08813, allocations: 27.72 kB / 312.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.08855, allocations: 266.5 kB / 313.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.0886, allocations: 16.44 kB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.08866, allocations: 20 kB / 313.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.08935, allocations: 235.2 kB / 313.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.08938, allocations: 0 / 313.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.497e-05/0.08943, allocations: 7.984 kB / 313.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.08945, allocations: 4 kB / 313.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.09024, allocations: 237.5 kB / 313.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.09217, allocations: 0.8581 MB / 314.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.09297, allocations: 214.6 kB / 314.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.09303, allocations: 7.984 kB / 314.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/0.09356, allocations: 169.8 kB / 314.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 3.59e-06/0.09358, allocations: 0 / 314.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.00224/0.09584, allocations: 0.558 MB / 315.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.678e-05/0.09595, allocations: 110.8 kB / 315.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.09635, allocations: 256.9 kB / 315.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.09641, allocations: 37.64 kB / 315.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.0966, allocations: 230.3 kB / 316.1 MB, free: 9.004 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.09667, allocations: 39.45 kB / 316.1 MB, free: 8.965 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-05/0.0967, allocations: 4 kB / 316.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.09687, allocations: 314.8 kB / 316.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.09724, allocations: 92.12 kB / 316.5 MB, free: 8.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.09767, allocations: 156 kB / 316.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.09807, allocations: 130.8 kB / 316.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-06/0.09809, allocations: 0 / 316.8 MB, free: 8.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001281/0.09938, allocations: 389 kB / 317.2 MB, free: 7.848 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.09945, allocations: 33.69 kB / 317.2 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.09947, allocations: 4 kB / 317.2 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005381/0.1, allocations: 96.81 kB / 317.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.1003, allocations: 39.91 kB / 317.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.1035, allocations: 1.785 MB / 319.1 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.1039, allocations: 51.75 kB / 319.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.104, allocations: 12 kB / 319.2 MB, free: 5.672 MB / 266.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.0002102/0.1042, allocations: 142 kB / 319.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.1043, allocations: 15.81 kB / 319.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.1043, allocations: 30.03 kB / 319.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-06/0.1044, allocations: 0 / 319.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-06/0.1044, allocations: 3.938 kB / 319.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-06/0.1044, allocations: 0 / 319.4 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.1048, allocations: 297.3 kB / 319.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.067e-06/0.1048, allocations: 0 / 319.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.105, allocations: 31.97 kB / 319.7 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000495/0.1055, allocations: 100.7 kB / 319.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.1055, allocations: 4 kB / 319.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/0.1083, allocations: 1.661 MB / 321.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-06/0.1084, allocations: 0 / 321.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1095, allocations: 341.6 kB / 321.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1096, allocations: 96.84 kB / 321.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.1097, allocations: 4 kB / 321.9 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.11, allocations: 35.97 kB / 321.9 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.1101, allocations: 23.92 kB / 322 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1101, allocations: 8 kB / 322 MB, free: 2.664 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000262/0.1104, allocations: 184.5 kB / 322.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.1104, allocations: 0 / 322.1 MB, free: 2.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005012/0.1109, allocations: 67.84 kB / 322.2 MB, free: 2.418 MB / 266.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.0001715/0.1111, allocations: 115.1 kB / 322.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001066/0.1122, allocations: 393.9 kB / 322.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.511e-06/0.1122, allocations: 0 / 322.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005383/0.1128, allocations: 230.9 kB / 322.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1131, allocations: 36.3 kB / 323 MB, free: 1.613 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.1143, allocations: 0.515 MB / 323.5 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.1147, allocations: 0.7521 MB / 324.2 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.1149, allocations: 19.44 kB / 324.3 MB, free: 276 kB / 266.7 MB Notification: Performance of SimCode: time 1.713e-06/0.1149, allocations: 0 / 324.3 MB, free: 276 kB / 266.7 MB Notification: Performance of Templates: time 0.007821/0.1227, allocations: 3.88 MB / 328.1 MB, free: 12.39 MB / 282.7 MB