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.DifferenceAmplifier.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08981, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.00725/0.09711, allocations: 4.648 MB / 313.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.1009, allocations: 1.529 MB / 315.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/0.1014, allocations: 19.94 kB / 315.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.1017, allocations: 111.1 kB / 315.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000862/0.1026, allocations: 315.1 kB / 315.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009493/0.1035, allocations: 279.5 kB / 315.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.1051, allocations: 0.8474 MB / 316.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006521/0.1058, allocations: 308.2 kB / 317.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007337/0.1065, allocations: 426.6 kB / 317.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009229/0.1075, allocations: 0.5293 MB / 318 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.1077, allocations: 68 kB / 318.1 MB, free: 7.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.108, allocations: 75.94 kB / 318.2 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.1083, allocations: 203.2 kB / 318.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.1086, allocations: 205.2 kB / 318.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001673/0.1103, allocations: 1.212 MB / 319.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1103, allocations: 0 / 319.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1103, allocations: 0 / 319.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.1103, allocations: 0 / 319.8 MB, free: 5.562 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005314/0.1156, allocations: 1.317 MB / 321.1 MB, free: 4.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1157, allocations: 8.031 kB / 321.1 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.116, allocations: 106.8 kB / 321.2 MB, free: 4.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.117, allocations: 0.5119 MB / 321.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.1171, allocations: 70 kB / 321.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.1174, allocations: 80 kB / 321.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.1216, allocations: 1.165 MB / 323 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.1216, allocations: 0 / 323 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/0.1218, allocations: 32 kB / 323.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.1219, allocations: 20 kB / 323.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005764/0.1276, allocations: 1.3 MB / 324.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009295/0.137, allocations: 3.497 MB / 327.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005286/0.1423, allocations: 1.197 MB / 329.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/0.1424, allocations: 16.53 kB / 329.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.1425, allocations: 47.06 kB / 329.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 4.188e-06/0.1425, allocations: 11.88 kB / 329.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=71): time 0.01502/0.1575, allocations: 3.38 MB / 332.5 MB, free: 8.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1576, allocations: 60.06 kB / 332.6 MB, free: 8.438 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009444/0.1585, allocations: 0.5184 MB / 333.1 MB, free: 7.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.1587, allocations: 33.7 kB / 333.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.1591, allocations: 411.3 kB / 333.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.1595, allocations: 252.3 kB / 333.8 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.1596, allocations: 16 kB / 333.8 MB, free: 7.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1598, allocations: 382.7 kB / 334.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/0.1625, allocations: 0.5641 MB / 334.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/0.1652, allocations: 0.6806 MB / 335.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.1681, allocations: 0.5887 MB / 336 MB, free: 4.941 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1681, allocations: 0 / 336 MB, free: 4.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006845/0.175, allocations: 1.548 MB / 337.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.175, allocations: 7.984 kB / 337.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.1751, allocations: 4 kB / 337.6 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009203/0.176, allocations: 188.6 kB / 337.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.1786, allocations: 283.7 kB / 338 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.1845, allocations: 2.652 MB / 340.7 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.1865, allocations: 132 kB / 340.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.1866, allocations: 35.94 kB / 340.9 MB, free: 15.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005557/0.1872, allocations: 217.9 kB / 341.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.1874, allocations: 71.16 kB / 341.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1877, allocations: 90.3 kB / 341.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.1877, allocations: 4.109 kB / 341.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1877, allocations: 4 kB / 341.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.1879, allocations: 136.2 kB / 341.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.1881, allocations: 19.95 kB / 341.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/0.19, allocations: 155.8 kB / 341.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.1902, allocations: 56.55 kB / 341.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008893/0.1991, allocations: 1.649 MB / 343.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008587/0.2077, allocations: 2.173 MB / 345.4 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002611/0.2103, allocations: 0.6024 MB / 346 MB, free: 10.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006465/0.211, allocations: 354.9 kB / 346.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Backend: time 4.81e-07/0.211, allocations: 0 / 346.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004708/0.2157, allocations: 1.09 MB / 347.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of SimCode: time 0.004786/0.2205, allocations: 2.681 MB / 350.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of Templates: time 0.03504/0.2556, allocations: 13.32 MB / 363.5 MB, free: 9.266 MB / 314.7 MB