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 1.934/1.934, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09374/0.09415, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003736/0.09795, allocations: 2.2 MB / 311.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.09935, allocations: 0.6402 MB / 311.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.0995, allocations: 7.938 kB / 311.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.977e-05/0.0996, allocations: 35.75 kB / 312 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.09992, allocations: 95.7 kB / 312.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1002, allocations: 51.89 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.1006, allocations: 231.3 kB / 312.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1008, allocations: 57.16 kB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.101, allocations: 107.6 kB / 312.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1012, allocations: 123.5 kB / 312.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.1013, allocations: 16 kB / 312.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.546e-05/0.1014, allocations: 12 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.1014, allocations: 47.77 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.735e-05/0.1015, allocations: 73.58 kB / 312.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1019, allocations: 227.6 kB / 313 MB, free: 12.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1019, allocations: 4 kB / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1019, allocations: 0 / 313 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.1019, allocations: 4 kB / 313 MB, free: 12.41 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.001416/0.1034, allocations: 0.5793 MB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1034, allocations: 8.031 kB / 313.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.911e-05/0.1035, allocations: 27.72 kB / 313.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1039, allocations: 254.5 kB / 313.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.104, allocations: 16.44 kB / 313.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.104, allocations: 20 kB / 313.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/0.1049, allocations: 231.2 kB / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1049, allocations: 0 / 314.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.1049, allocations: 15.94 kB / 314.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.105, allocations: 7.938 kB / 314.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.106, allocations: 225.6 kB / 314.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.1082, allocations: 0.862 MB / 315.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.1092, allocations: 218.6 kB / 315.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1092, allocations: 7.875 kB / 315.4 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/0.1099, allocations: 169.9 kB / 315.6 MB, free: 9.586 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.1099, allocations: 4 kB / 315.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.003124/0.113, allocations: 0.5538 MB / 316.2 MB, free: 9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1131, allocations: 106.8 kB / 316.3 MB, free: 8.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.1135, allocations: 260.9 kB / 316.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.1136, allocations: 29.7 kB / 316.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1138, allocations: 171.9 kB / 316.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.1138, allocations: 35.45 kB / 316.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.1138, allocations: 4 kB / 316.8 MB, free: 8.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.114, allocations: 338.8 kB / 317.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.1145, allocations: 92.12 kB / 317.2 MB, free: 7.934 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.115, allocations: 157.8 kB / 317.3 MB, free: 7.754 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000501/0.1155, allocations: 127.5 kB / 317.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1156, allocations: 0 / 317.5 MB, free: 7.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00175/0.1173, allocations: 395.8 kB / 317.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.1174, allocations: 45.64 kB / 317.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1174, allocations: 4.031 kB / 317.9 MB, free: 7.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.1182, allocations: 92.78 kB / 318 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.1186, allocations: 47.91 kB / 318 MB, free: 7.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003763/0.1224, allocations: 1.789 MB / 319.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.1229, allocations: 47.78 kB / 319.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.1229, allocations: 12 kB / 319.9 MB, free: 5.031 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.0002033/0.1232, allocations: 137.9 kB / 320 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.1232, allocations: 20.03 kB / 320 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.51e-05/0.1233, allocations: 25.83 kB / 320.1 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1233, allocations: 3.938 kB / 320.1 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1233, allocations: 4 kB / 320.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.1234, allocations: 104.8 kB / 320.2 MB, free: 4.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.1235, allocations: 4 kB / 320.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.1239, allocations: 27.97 kB / 320.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.124, allocations: 27.92 kB / 320.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/0.1254, allocations: 354 kB / 320.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001521/0.127, allocations: 494.5 kB / 321 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004425/0.1275, allocations: 95.94 kB / 321.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002686/0.1277, allocations: 180.5 kB / 321.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of Backend: time 5.61e-07/0.1277, allocations: 0 / 321.3 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.1289, allocations: 398 kB / 321.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of SimCode: time 0.001387/0.1303, allocations: 0.9612 MB / 322.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of Templates: time 0.01043/0.1408, allocations: 3.238 MB / 325.9 MB, free: 14.88 MB / 282.7 MB