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.Test72.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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.112/2.112, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007145/0.0007148, allocations: 12 kB / 282.5 MB, free: 9.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1222, allocations: 48.7 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002227/0.1244, allocations: 1.341 MB / 332.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.126, allocations: 0.668 MB / 333.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.1261, allocations: 3.938 kB / 333.2 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.1266, allocations: 287.4 kB / 333.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.127, allocations: 167.7 kB / 333.7 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.1274, allocations: 107.6 kB / 333.8 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1277, allocations: 151.7 kB / 333.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.203e-05/0.1278, allocations: 13.09 kB / 333.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1279, allocations: 87.77 kB / 334 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1282, allocations: 151.6 kB / 334.2 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1282, allocations: 4 kB / 334.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.1284, allocations: 59.91 kB / 334.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.1286, allocations: 127.6 kB / 334.3 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.1287, allocations: 73.52 kB / 334.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.1292, allocations: 283.8 kB / 334.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.823e-06/0.1292, allocations: 0 / 334.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.1292, allocations: 0 / 334.7 MB, free: 5.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.315e-06/0.1292, allocations: 3.938 kB / 334.7 MB, free: 5.445 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.001264/0.1305, allocations: 0.7152 MB / 335.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1306, allocations: 8.031 kB / 335.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1307, allocations: 43.44 kB / 335.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/0.1316, allocations: 411.2 kB / 335.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1317, allocations: 0 / 335.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1317, allocations: 4 kB / 335.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1319, allocations: 59.39 kB / 335.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.132, allocations: 3.938 kB / 335.9 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.132, allocations: 8 kB / 335.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-06/0.132, allocations: 0 / 335.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1321, allocations: 19.98 kB / 336 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/0.1328, allocations: 366.3 kB / 336.3 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.133, allocations: 57.14 kB / 336.4 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.133, allocations: 4 kB / 336.4 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.1333, allocations: 89.16 kB / 336.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 3.11e-06/0.1334, allocations: 0 / 336.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005212/0.1339, allocations: 137 kB / 336.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.134, allocations: 77.11 kB / 336.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.136, allocations: 1.01 MB / 337.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.1361, allocations: 41.69 kB / 337.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.1364, allocations: 242.6 kB / 338 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.1365, allocations: 15.81 kB / 338 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.1365, allocations: 4 kB / 338 MB, free: 1.918 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.1368, allocations: 318.8 kB / 338.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1369, allocations: 24 kB / 338.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.137, allocations: 45.69 kB / 338.4 MB, free: 1.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.1372, allocations: 87.41 kB / 338.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.864e-06/0.1373, allocations: 4.047 kB / 338.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000515/0.1378, allocations: 176.9 kB / 338.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-05/0.1379, allocations: 67.34 kB / 338.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.1379, allocations: 4 kB / 338.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1379, allocations: 0 / 338.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1381, allocations: 11.98 kB / 338.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.314e-06/0.1381, allocations: 0 / 338.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.1382, allocations: 15.84 kB / 338.7 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.1383, allocations: 8 kB / 338.7 MB, free: 1.113 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003002/0.1386, allocations: 229.5 kB / 338.9 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.1387, allocations: 51.38 kB / 339 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1388, allocations: 55.66 kB / 339.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.923e-06/0.1388, allocations: 0 / 339.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.567e-06/0.1388, allocations: 0 / 339.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.639e-06/0.1389, allocations: 4 kB / 339.1 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.1393, allocations: 313.5 kB / 339.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-06/0.1393, allocations: 0 / 339.4 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.1393, allocations: 7.953 kB / 339.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.742e-06/0.1394, allocations: 0 / 339.4 MB, free: 416 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1394, allocations: 8 kB / 339.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.108e-06/0.1394, allocations: 128 / 339.4 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.091e-06/0.1394, allocations: 4 kB / 339.4 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1397, allocations: 161.2 kB / 339.5 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.1399, allocations: 136.5 kB / 339.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.14, allocations: 7.953 kB / 339.7 MB, free: 56 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1401, allocations: 8 kB / 339.7 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.1402, allocations: 7.984 kB / 339.7 MB, free: 40 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1402, allocations: 4 kB / 339.7 MB, free: 36 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.209/0.3492, allocations: 0.7408 MB / 340.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.278e-06/0.3493, allocations: 0 / 340.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004684/0.3498, allocations: 59.36 kB / 340.5 MB, free: 15.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001541/0.3513, allocations: 485.8 kB / 341 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.3516, allocations: 184.1 kB / 341.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.27e-06/0.3516, allocations: 1.422 kB / 341.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.196e-05/0.3517, allocations: 24.25 kB / 341.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.3521, allocations: 41.33 kB / 341.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.3536, allocations: 0.9004 MB / 342.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.354, allocations: 0.8465 MB / 343 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.721e-05/0.3541, allocations: 24.89 kB / 343 MB, free: 14.39 MB / 282.7 MB Notification: Performance of SimCode: time 1.45e-06/0.3541, allocations: 0 / 343 MB, free: 14.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01105/0.3652, allocations: 4.799 MB / 347.8 MB, free: 13.74 MB / 282.7 MB