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.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003853, allocations: 8 kB / 263.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08007/0.08048, allocations: 44.51 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006722/0.08724, allocations: 4.773 MB / 313.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.08991, allocations: 1.232 MB / 314.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004965/0.09044, allocations: 23.94 kB / 314.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.09072, allocations: 131.1 kB / 314.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000815/0.09155, allocations: 335.1 kB / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.09207, allocations: 155.8 kB / 315 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.09322, allocations: 0.7424 MB / 315.7 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.09398, allocations: 396.2 kB / 316.1 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.09446, allocations: 334.8 kB / 316.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.09505, allocations: 386.2 kB / 316.8 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.09519, allocations: 52 kB / 316.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.09536, allocations: 52 kB / 316.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.09555, allocations: 159.4 kB / 317.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.09579, allocations: 193.2 kB / 317.3 MB, free: 8.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.09683, allocations: 0.8064 MB / 318.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.663e-06/0.09685, allocations: 0 / 318.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.199e-06/0.09686, allocations: 0 / 318.1 MB, free: 7.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.09688, allocations: 0 / 318.1 MB, free: 7.23 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002109/0.099, allocations: 1.088 MB / 319.2 MB, free: 6.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.09906, allocations: 8.031 kB / 319.2 MB, free: 6.082 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.09932, allocations: 106.8 kB / 319.3 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.1001, allocations: 442 kB / 319.7 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.1002, allocations: 66 kB / 319.8 MB, free: 5.438 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.1004, allocations: 96 kB / 319.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.1023, allocations: 0.8596 MB / 320.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.1024, allocations: 4 kB / 320.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.1025, allocations: 40 kB / 320.8 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.1025, allocations: 24 kB / 320.8 MB, free: 4.391 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.104, allocations: 0.5622 MB / 321.4 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005817/0.1098, allocations: 2.972 MB / 324.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006066/0.1104, allocations: 306.3 kB / 324.6 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.1105, allocations: 8 kB / 324.6 MB, free: 432 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.1106, allocations: 38.5 kB / 324.7 MB, free: 384 kB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.875e-06/0.1106, allocations: 0 / 324.7 MB, free: 384 kB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001991/0.1126, allocations: 0.6522 MB / 325.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1126, allocations: 59.36 kB / 325.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008268/0.1135, allocations: 0.5064 MB / 325.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.1136, allocations: 33.7 kB / 325.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.114, allocations: 0.5195 MB / 326.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.1142, allocations: 161.8 kB / 326.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1142, allocations: 16 kB / 326.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1144, allocations: 342.8 kB / 326.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.1149, allocations: 169.9 kB / 327.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.1156, allocations: 450 kB / 327.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005553/0.1162, allocations: 242 kB / 327.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-06/0.1162, allocations: 4 kB / 327.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001739/0.118, allocations: 0.7301 MB / 328.5 MB, free: 12.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.118, allocations: 12 kB / 328.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.118, allocations: 12.06 kB / 328.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.1184, allocations: 80.81 kB / 328.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/0.1193, allocations: 195.7 kB / 328.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.1219, allocations: 1.831 MB / 330.6 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.1225, allocations: 83.06 kB / 330.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.1226, allocations: 39.98 kB / 330.8 MB, free: 9.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004172/0.123, allocations: 217.3 kB / 331 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.1232, allocations: 59.41 kB / 331 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.1233, allocations: 69.5 kB / 331.1 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.93e-06/0.1234, allocations: 7.953 kB / 331.1 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.769e-06/0.1234, allocations: 0 / 331.1 MB, free: 9.57 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.865e-06/0.1234, allocations: 3.984 kB / 331.1 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.1244, allocations: 0.6414 MB / 331.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.1245, allocations: 4 kB / 331.8 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00053/0.125, allocations: 103.9 kB / 331.9 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003165/0.1253, allocations: 76.73 kB / 331.9 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.26e-05/0.1254, allocations: 4 kB / 331.9 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.1279, allocations: 1.812 MB / 333.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1279, allocations: 0 / 333.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.1294, allocations: 0.6685 MB / 334.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.1296, allocations: 132.4 kB / 334.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.454e-05/0.1297, allocations: 19.95 kB / 334.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.1302, allocations: 47.97 kB / 334.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.1303, allocations: 31.95 kB / 334.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1303, allocations: 12 kB / 334.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000552/0.1309, allocations: 338.9 kB / 335 MB, free: 5.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.1309, allocations: 4 kB / 335 MB, free: 5.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001054/0.132, allocations: 243.2 kB / 335.2 MB, free: 5.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.1322, allocations: 115.2 kB / 335.3 MB, free: 5.105 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.1335, allocations: 0.5974 MB / 335.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.794e-06/0.1335, allocations: 0 / 335.9 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.1342, allocations: 326.3 kB / 336.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.1349, allocations: 102.3 kB / 336.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.1382, allocations: 1.787 MB / 338.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007038/0.1389, allocations: 0.9457 MB / 339.1 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.1391, allocations: 43.44 kB / 339.1 MB, free: 1.234 MB / 282.7 MB Notification: Performance of SimCode: time 1.88e-06/0.1391, allocations: 4 kB / 339.1 MB, free: 1.23 MB / 282.7 MB Notification: Performance of Templates: time 0.01878/0.1579, allocations: 10.65 MB / 349.8 MB, free: 6.566 MB / 298.7 MB