Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.2 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004362, allocations: 16 kB / 282.5 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 48.71 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.004055/0.1191, allocations: 1.282 MB / 332.5 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1209, allocations: 424.6 kB / 332.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.121, allocations: 4 kB / 332.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.1216, allocations: 75.77 kB / 333 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.1219, allocations: 43.92 kB / 333 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1224, allocations: 59.8 kB / 333.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1227, allocations: 67.84 kB / 333.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.1228, allocations: 7.984 kB / 333.1 MB, free: 7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.123, allocations: 35.91 kB / 333.2 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1232, allocations: 47.81 kB / 333.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1233, allocations: 4 kB / 333.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.1235, allocations: 27.94 kB / 333.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.1236, allocations: 15.92 kB / 333.3 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.1237, allocations: 33.7 kB / 333.3 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.1241, allocations: 92.09 kB / 333.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.327e-06/0.1242, allocations: 0 / 333.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.917e-06/0.1242, allocations: 0 / 333.4 MB, free: 6.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1242, allocations: 0 / 333.4 MB, free: 6.742 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000995/0.1252, allocations: 424.6 kB / 333.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.1253, allocations: 8.031 kB / 333.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.215e-05/0.1254, allocations: 7.906 kB / 333.8 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.1259, allocations: 206.7 kB / 334 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.126, allocations: 4 kB / 334 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.126, allocations: 4 kB / 334 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.1263, allocations: 49.61 kB / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1263, allocations: 0 / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1264, allocations: 0 / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.1264, allocations: 8 kB / 334.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1265, allocations: 11.94 kB / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007671/0.1273, allocations: 280.9 kB / 334.4 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003765/0.1278, allocations: 42.56 kB / 334.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1278, allocations: 0 / 334.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1281, allocations: 63.42 kB / 334.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 4.305e-06/0.1281, allocations: 0 / 334.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008129/0.129, allocations: 113.3 kB / 334.6 MB, free: 5.367 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.1291, allocations: 55.34 kB / 334.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.1296, allocations: 190.2 kB / 334.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.1297, allocations: 33.7 kB / 334.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.1299, allocations: 162.5 kB / 335 MB, free: 4.906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/0.13, allocations: 19.8 kB / 335 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.13, allocations: 4 kB / 335 MB, free: 4.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002694/0.1303, allocations: 314.8 kB / 335.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1305, allocations: 20 kB / 335.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1306, allocations: 15.98 kB / 335.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.1308, allocations: 49.7 kB / 335.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-06/0.1308, allocations: 0 / 335.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004804/0.1313, allocations: 115.3 kB / 335.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.1315, allocations: 37.45 kB / 335.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.742e-06/0.1315, allocations: 0 / 335.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.1315, allocations: 0 / 335.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1317, allocations: 12 kB / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.941e-06/0.1317, allocations: 3.938 kB / 335.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.1318, allocations: 8.078 kB / 335.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.1319, allocations: 7.938 kB / 335.6 MB, free: 4.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.1322, allocations: 125.8 kB / 335.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1322, allocations: 7.906 kB / 335.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.1324, allocations: 20.3 kB / 335.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-06/0.1324, allocations: 0 / 335.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.525e-06/0.1324, allocations: 0 / 335.8 MB, free: 4.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.1324, allocations: 4 kB / 335.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/0.1333, allocations: 350.4 kB / 336.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-06/0.1334, allocations: 288 / 336.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.1335, allocations: 8.125 kB / 336.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.819e-06/0.1335, allocations: 0 / 336.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1335, allocations: 4 kB / 336.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.341e-06/0.1336, allocations: 4 kB / 336.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.351e-06/0.1336, allocations: 160 / 336.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004442/0.1341, allocations: 179.3 kB / 336.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1342, allocations: 85 kB / 336.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.1343, allocations: 4 kB / 336.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1345, allocations: 0 / 336.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.1346, allocations: 4 kB / 336.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.1347, allocations: 3.984 kB / 336.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003424/0.135, allocations: 148.1 kB / 336.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.581e-06/0.135, allocations: 0 / 336.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003662/0.1354, allocations: 35.94 kB / 336.6 MB, free: 3.215 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/0.1366, allocations: 366.6 kB / 336.9 MB, free: 2.941 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.1368, allocations: 107.3 kB / 337 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.044e-06/0.1369, allocations: 4 kB / 337 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.1369, allocations: 16 kB / 337.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.1372, allocations: 19.92 kB / 337.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.1377, allocations: 235.2 kB / 337.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.1382, allocations: 0.7121 MB / 338 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1382, allocations: 11.44 kB / 338 MB, free: 1.773 MB / 282.7 MB Notification: Performance of SimCode: time 1.428e-06/0.1382, allocations: 0 / 338 MB, free: 1.773 MB / 282.7 MB Notification: Performance of Templates: time 0.004163/0.1424, allocations: 1.715 MB / 339.8 MB, free: 60 kB / 282.7 MB