Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 12 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09245, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007519/0.1, allocations: 4.643 MB / 277.3 MB, free: 6.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1039, allocations: 1.525 MB / 278.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.1046, allocations: 16 kB / 278.8 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.105, allocations: 115.1 kB / 278.9 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009461/0.1059, allocations: 315 kB / 279.2 MB, free: 4.906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.107, allocations: 275.5 kB / 279.5 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002029/0.1091, allocations: 0.859 MB / 280.4 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006709/0.1098, allocations: 304.2 kB / 280.7 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008625/0.1107, allocations: 434.6 kB / 281.1 MB, free: 3.039 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.1117, allocations: 0.5292 MB / 281.6 MB, free: 2.508 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.1119, allocations: 67.94 kB / 281.7 MB, free: 2.441 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.1122, allocations: 76 kB / 281.7 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.1125, allocations: 203.2 kB / 281.9 MB, free: 2.168 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002795/0.1128, allocations: 201.2 kB / 282.1 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.1147, allocations: 1.208 MB / 283.3 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1147, allocations: 0 / 283.3 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1147, allocations: 0 / 283.3 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.887e-05/0.1148, allocations: 4 kB / 283.4 MB, free: 0.75 MB / 234.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.005757/0.1205, allocations: 1.325 MB / 284.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1206, allocations: 8.031 kB / 284.7 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003891/0.121, allocations: 102.8 kB / 284.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.1221, allocations: 0.512 MB / 285.3 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/0.1222, allocations: 62 kB / 285.4 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000283/0.1225, allocations: 87.91 kB / 285.4 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.1268, allocations: 1.161 MB / 286.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.1269, allocations: 7.938 kB / 286.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.127, allocations: 36 kB / 286.6 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.1271, allocations: 16 kB / 286.7 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005783/0.1329, allocations: 1.304 MB / 288 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009675/0.1426, allocations: 3.501 MB / 291.5 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005582/0.1482, allocations: 1.193 MB / 292.7 MB, free: 7.203 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.1483, allocations: 16.55 kB / 292.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.1484, allocations: 43.11 kB / 292.7 MB, free: 7.137 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/0.1484, allocations: 4 kB / 292.7 MB, free: 7.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=71): time 0.01522/0.1636, allocations: 3.384 MB / 296.1 MB, free: 3.691 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1637, allocations: 60.06 kB / 296.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1648, allocations: 0.5224 MB / 296.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.1649, allocations: 41.7 kB / 296.7 MB, free: 3.043 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.1653, allocations: 403.4 kB / 297.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.1657, allocations: 252.3 kB / 297.4 MB, free: 2.391 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.1658, allocations: 16 kB / 297.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.166, allocations: 378.8 kB / 297.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/0.1687, allocations: 0.5641 MB / 298.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/0.1714, allocations: 0.6845 MB / 299 MB, free: 0.707 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.1742, allocations: 0.5847 MB / 299.6 MB, free: 128 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.1742, allocations: 4 kB / 299.6 MB, free: 124 kB / 250.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.2428/0.417, allocations: 1.551 MB / 301.1 MB, free: 30.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.4171, allocations: 11.44 kB / 301.2 MB, free: 30.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4171, allocations: 1.812 kB / 301.2 MB, free: 30.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/0.4181, allocations: 175.7 kB / 301.3 MB, free: 30.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.4208, allocations: 288.5 kB / 301.6 MB, free: 30.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.4264, allocations: 2.651 MB / 304.3 MB, free: 28.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.4284, allocations: 133.7 kB / 304.4 MB, free: 28.66 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.4286, allocations: 28.27 kB / 304.4 MB, free: 28.65 MB / 250.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.0005166/0.4291, allocations: 225.1 kB / 304.6 MB, free: 28.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.4293, allocations: 71.28 kB / 304.7 MB, free: 28.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.4296, allocations: 91.66 kB / 304.8 MB, free: 28.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4296, allocations: 3.047 kB / 304.8 MB, free: 28.39 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4296, allocations: 6.266 kB / 304.8 MB, free: 28.39 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.4301, allocations: 246 kB / 305 MB, free: 28.22 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.4303, allocations: 18.36 kB / 305.1 MB, free: 28.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/0.4322, allocations: 147.3 kB / 305.2 MB, free: 28.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.4324, allocations: 59.61 kB / 305.3 MB, free: 28.19 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0135/0.4459, allocations: 1.641 MB / 306.9 MB, free: 27.66 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01337/0.4594, allocations: 2.174 MB / 309.1 MB, free: 26.75 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004298/0.4637, allocations: 0.6019 MB / 309.7 MB, free: 26.55 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009507/0.4647, allocations: 358.8 kB / 310 MB, free: 26.38 MB / 250.7 MB Notification: Performance of Backend: time 9.62e-07/0.4647, allocations: 0 / 310 MB, free: 26.38 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.007633/0.4724, allocations: 1.083 MB / 311.1 MB, free: 25.91 MB / 250.7 MB Notification: Performance of SimCode: time 0.004541/0.477, allocations: 2.698 MB / 313.8 MB, free: 23.98 MB / 250.7 MB Notification: Performance of Templates: time 0.0327/0.5097, allocations: 13.33 MB / 327.1 MB, free: 13.12 MB / 250.7 MB