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.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007313/0.0007319, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1228, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003551/0.1264, allocations: 2.29 MB / 310.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.1279, allocations: 0.6752 MB / 311.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1281, allocations: 4 kB / 311.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.114e-05/0.1282, allocations: 35.75 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.1285, allocations: 107.6 kB / 311.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1288, allocations: 59.92 kB / 311.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.1292, allocations: 243.3 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.1294, allocations: 77.19 kB / 311.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.1297, allocations: 119.5 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1299, allocations: 135.4 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.13, allocations: 16 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.1301, allocations: 16 kB / 312.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.1301, allocations: 47.81 kB / 312.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.918e-05/0.1303, allocations: 77.58 kB / 312.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.1306, allocations: 251.5 kB / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.738e-06/0.1306, allocations: 0 / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.1306, allocations: 0 / 312.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.971e-06/0.1307, allocations: 0 / 312.5 MB, free: 12.86 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001254/0.1319, allocations: 0.595 MB / 313.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.132, allocations: 8.031 kB / 313.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.47e-05/0.1321, allocations: 31.62 kB / 313.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.1325, allocations: 278.4 kB / 313.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.1326, allocations: 16.44 kB / 313.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.254e-05/0.1327, allocations: 27.98 kB / 313.4 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.1334, allocations: 247.2 kB / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1334, allocations: 0 / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.1335, allocations: 8 kB / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.234e-06/0.1335, allocations: 4 kB / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008122/0.1343, allocations: 253.5 kB / 313.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1364, allocations: 0.8901 MB / 314.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.1373, allocations: 315.5 kB / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1373, allocations: 4 kB / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.1379, allocations: 183.1 kB / 315.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 2.798e-06/0.1379, allocations: 4 kB / 315.3 MB, free: 9.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001966/0.1399, allocations: 0.5204 MB / 315.9 MB, free: 9.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.14, allocations: 114.8 kB / 316 MB, free: 9.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.1404, allocations: 266.8 kB / 316.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.1405, allocations: 33.64 kB / 316.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.1407, allocations: 226.4 kB / 316.5 MB, free: 8.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.278e-05/0.1408, allocations: 55.2 kB / 316.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.1408, allocations: 4 kB / 316.5 MB, free: 8.531 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.141, allocations: 330.8 kB / 316.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.1414, allocations: 100.4 kB / 317 MB, free: 8.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.1418, allocations: 168.8 kB / 317.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.1422, allocations: 138.6 kB / 317.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1423, allocations: 0 / 317.3 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001295/0.1436, allocations: 396.2 kB / 317.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.799e-05/0.1437, allocations: 37.73 kB / 317.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.303e-06/0.1437, allocations: 0 / 317.7 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004683/0.1442, allocations: 80.8 kB / 317.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.1445, allocations: 67.89 kB / 317.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.1472, allocations: 1.493 MB / 319.3 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.1477, allocations: 59.67 kB / 319.4 MB, free: 5.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.1477, allocations: 12 kB / 319.4 MB, free: 5.473 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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.1479, allocations: 133.8 kB / 319.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.148, allocations: 19.72 kB / 319.5 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.24e-05/0.1481, allocations: 38.11 kB / 319.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-06/0.1481, allocations: 0 / 319.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.359e-06/0.1481, allocations: 0 / 319.6 MB, free: 5.281 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-06/0.1481, allocations: 4 kB / 319.6 MB, free: 5.277 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1499, allocations: 0.7106 MB / 320.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.15, allocations: 0 / 320.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.1503, allocations: 52.03 kB / 320.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/0.1507, allocations: 80.78 kB / 320.4 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.1507, allocations: 7.891 kB / 320.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.1531, allocations: 1.493 MB / 321.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.1532, allocations: 0 / 321.9 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.1547, allocations: 0.5199 MB / 322.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1549, allocations: 108.7 kB / 322.5 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/0.155, allocations: 4 kB / 322.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.1553, allocations: 35.91 kB / 322.6 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1554, allocations: 27.91 kB / 322.6 MB, free: 1.996 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.1555, allocations: 8.062 kB / 322.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002741/0.1557, allocations: 190 kB / 322.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.027e-06/0.1558, allocations: 0 / 322.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.1563, allocations: 71.84 kB / 322.9 MB, free: 1.734 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * 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 (16): * Single equations (assignments): 13 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.1565, allocations: 103.2 kB / 323 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1576, allocations: 414.1 kB / 323.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1576, allocations: 0 / 323.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.1581, allocations: 230.5 kB / 323.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.1585, allocations: 44.91 kB / 323.7 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.16, allocations: 0.6569 MB / 324.3 MB, free: 224 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.1605, allocations: 0.756 MB / 325.1 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1606, allocations: 23.42 kB / 325.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.7e-06/0.1606, allocations: 0 / 325.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of Templates: time 0.008489/0.1691, allocations: 4.255 MB / 329.3 MB, free: 11.16 MB / 282.7 MB