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.Comparator.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.Comparator,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.Comparator") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005352/0.0005353, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1065, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.003947/0.1105, allocations: 2.325 MB / 311.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.112, allocations: 0.6634 MB / 312.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.1122, allocations: 7.938 kB / 312.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.617e-05/0.1123, allocations: 31.75 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1126, allocations: 111.6 kB / 312.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.1129, allocations: 55.88 kB / 312.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.1134, allocations: 235.5 kB / 312.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.1136, allocations: 98.31 kB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.1138, allocations: 119.5 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.1141, allocations: 143.4 kB / 312.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.1142, allocations: 16 kB / 312.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.1143, allocations: 20 kB / 312.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.1144, allocations: 51.81 kB / 312.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.1145, allocations: 77.52 kB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004125/0.1149, allocations: 283.5 kB / 313.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1149, allocations: 0 / 313.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1149, allocations: 4 kB / 313.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1149, allocations: 0 / 313.3 MB, free: 12.1 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001632/0.1166, allocations: 0.6184 MB / 313.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1166, allocations: 8.031 kB / 313.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1167, allocations: 35.61 kB / 314 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.1172, allocations: 274.5 kB / 314.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/0.1172, allocations: 16.56 kB / 314.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.1173, allocations: 32 kB / 314.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000945/0.1183, allocations: 272.8 kB / 314.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1183, allocations: 0 / 314.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.1184, allocations: 12 kB / 314.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1184, allocations: 7.938 kB / 314.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.1195, allocations: 258.1 kB / 314.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1221, allocations: 1.052 MB / 315.9 MB, free: 9.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000976/0.1231, allocations: 178.6 kB / 316 MB, free: 9.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1232, allocations: 3.984 kB / 316 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006053/0.1238, allocations: 153.1 kB / 316.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.344e-06/0.1238, allocations: 0 / 316.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001688/0.1255, allocations: 399.1 kB / 316.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1256, allocations: 89.12 kB / 316.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005158/0.1261, allocations: 316.4 kB / 317 MB, free: 8.145 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.1261, allocations: 33.69 kB / 317 MB, free: 8.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.1263, allocations: 199.5 kB / 317.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1264, allocations: 35.64 kB / 317.2 MB, free: 7.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.1264, allocations: 4 kB / 317.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1266, allocations: 330.8 kB / 317.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.1271, allocations: 100.4 kB / 317.7 MB, free: 7.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.1276, allocations: 198.5 kB / 317.9 MB, free: 7.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.1282, allocations: 133.6 kB / 318 MB, free: 7.059 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.1282, allocations: 4 kB / 318 MB, free: 7.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001357/0.1296, allocations: 391.6 kB / 318.4 MB, free: 6.656 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.1296, allocations: 33.7 kB / 318.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1297, allocations: 0 / 318.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/0.1299, allocations: 32.84 kB / 318.4 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.1303, allocations: 64.02 kB / 318.5 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1317, allocations: 1.308 MB / 319.8 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.1323, allocations: 47.67 kB / 319.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.1323, allocations: 23.92 kB / 319.9 MB, free: 5.008 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (26): * Single equations (assignments): 24 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002086/0.1325, allocations: 145.9 kB / 320 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.1326, allocations: 27.67 kB / 320 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.1327, allocations: 25.84 kB / 320.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1327, allocations: 4 kB / 320.1 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1327, allocations: 3.938 kB / 320.1 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1328, allocations: 100.8 kB / 320.2 MB, free: 4.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.1329, allocations: 8 kB / 320.2 MB, free: 4.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003509/0.1333, allocations: 27.97 kB / 320.2 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.289e-05/0.1334, allocations: 16.34 kB / 320.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001335/0.1347, allocations: 408.7 kB / 320.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001468/0.1362, allocations: 0.5329 MB / 321.2 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004435/0.1367, allocations: 83.97 kB / 321.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003556/0.1371, allocations: 223.1 kB / 321.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of Backend: time 6.81e-07/0.1371, allocations: 64 / 321.5 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.1383, allocations: 408.5 kB / 321.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of SimCode: time 0.001458/0.1398, allocations: 0.9811 MB / 322.8 MB, free: 1.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01022/0.15, allocations: 3.023 MB / 325.9 MB, free: 14.91 MB / 282.7 MB