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.912/1.912, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 19.98 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0789/0.07928, allocations: 44.51 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003236/0.08256, allocations: 2.192 MB / 310.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.08391, allocations: 0.6402 MB / 311.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.08408, allocations: 8 kB / 311.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.178e-05/0.08417, allocations: 31.75 kB / 311.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.08446, allocations: 107.6 kB / 311.3 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.08471, allocations: 51.88 kB / 311.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.08508, allocations: 215.4 kB / 311.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.08528, allocations: 69.12 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.08547, allocations: 107.5 kB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.0857, allocations: 131.5 kB / 311.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.08576, allocations: 16 kB / 311.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.08583, allocations: 16 kB / 311.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.0859, allocations: 43.81 kB / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.519e-05/0.08601, allocations: 69.58 kB / 312.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.08635, allocations: 223.6 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.302e-06/0.08637, allocations: 0 / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.08638, allocations: 3.938 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.388e-06/0.0864, allocations: 0 / 312.3 MB, free: 13.07 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.001215/0.08762, allocations: 0.5833 MB / 312.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.08768, allocations: 16.03 kB / 312.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.08779, allocations: 23.72 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.08821, allocations: 262.5 kB / 313.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.08826, allocations: 16.44 kB / 313.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.08832, allocations: 20 kB / 313.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006782/0.08901, allocations: 235.2 kB / 313.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.08904, allocations: 0 / 313.4 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.08909, allocations: 8 kB / 313.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.28e-06/0.08911, allocations: 7.938 kB / 313.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.08988, allocations: 229.5 kB / 313.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.0918, allocations: 0.862 MB / 314.5 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/0.0926, allocations: 214.6 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.09264, allocations: 4 kB / 314.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.09317, allocations: 173.8 kB / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.931e-06/0.09319, allocations: 0 / 314.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0022/0.0954, allocations: 0.5576 MB / 315.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.09551, allocations: 114.8 kB / 315.6 MB, free: 9.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.09592, allocations: 258.6 kB / 315.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.09597, allocations: 29.7 kB / 315.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.09617, allocations: 234.2 kB / 316.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.09624, allocations: 43.45 kB / 316.1 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.09626, allocations: 4 kB / 316.1 MB, free: 8.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.09644, allocations: 318.8 kB / 316.4 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.0968, allocations: 95.94 kB / 316.5 MB, free: 8.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.09722, allocations: 165.4 kB / 316.7 MB, free: 8.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.09762, allocations: 130.6 kB / 316.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.651e-06/0.09764, allocations: 0 / 316.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001305/0.09895, allocations: 407.8 kB / 317.2 MB, free: 7.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.09901, allocations: 30.95 kB / 317.3 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.09904, allocations: 8 kB / 317.3 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.09958, allocations: 96.81 kB / 317.4 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.09987, allocations: 51.97 kB / 317.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.103, allocations: 1.766 MB / 319.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.1035, allocations: 52 kB / 319.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.1035, allocations: 8 kB / 319.2 MB, free: 5.617 MB / 266.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.0002111/0.1037, allocations: 149.6 kB / 319.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.1038, allocations: 23.72 kB / 319.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.1039, allocations: 21.83 kB / 319.4 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-06/0.1039, allocations: 4 kB / 319.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.432e-06/0.1039, allocations: 192 / 319.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1039, allocations: 0 / 319.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.1043, allocations: 297.4 kB / 319.7 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1043, allocations: 4 kB / 319.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1045, allocations: 27.97 kB / 319.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.105, allocations: 100.7 kB / 319.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.105, allocations: 0 / 319.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002956/0.108, allocations: 1.75 MB / 321.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.511e-06/0.108, allocations: 0 / 321.6 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.1092, allocations: 342 kB / 321.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1093, allocations: 100.8 kB / 322 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.1094, allocations: 12.14 kB / 322 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1097, allocations: 35.97 kB / 322.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.1098, allocations: 19.97 kB / 322.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.1098, allocations: 4.188 kB / 322.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002585/0.1101, allocations: 182 kB / 322.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.73e-07/0.1101, allocations: 11.94 kB / 322.3 MB, free: 2.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.1107, allocations: 75.83 kB / 322.4 MB, free: 2.25 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.0001543/0.1108, allocations: 107.2 kB / 322.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.1119, allocations: 393.9 kB / 322.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.212e-06/0.112, allocations: 0.5 kB / 322.8 MB, free: 1.727 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.1125, allocations: 234.5 kB / 323.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.1129, allocations: 32.55 kB / 323.1 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.1152, allocations: 0.7139 MB / 323.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.1157, allocations: 0.7522 MB / 324.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.918e-05/0.1158, allocations: 15.44 kB / 324.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.53e-06/0.1158, allocations: 4 kB / 324.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of Templates: time 0.007782/0.1236, allocations: 3.906 MB / 328.5 MB, free: 12.01 MB / 282.7 MB