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.Test70.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004437, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2912, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4057, allocations: 75.73 MB / 407 MB, free: 2.699 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.406, allocations: 71.97 kB / 407.1 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02116/0.4271, allocations: 5.489 MB / 412.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.469e-06/0.4272, allocations: 0 / 412.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.147e-05/0.4272, allocations: 4 kB / 412.6 MB, free: 13.14 MB / 346.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.001179/0.4284, allocations: 0.7461 MB / 413.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4285, allocations: 15.97 kB / 413.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.4286, allocations: 47.38 kB / 413.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.4295, allocations: 467.1 kB / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4296, allocations: 0 / 413.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.4296, allocations: 8 kB / 413.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4298, allocations: 67.36 kB / 413.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.97e-06/0.4298, allocations: 0 / 413.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4298, allocations: 4 kB / 413.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4298, allocations: 0 / 413.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.854e-05/0.4299, allocations: 23.92 kB / 413.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.4305, allocations: 386.3 kB / 414.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.4307, allocations: 57.14 kB / 414.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.4307, allocations: 0 / 414.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.4309, allocations: 93.16 kB / 414.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.4309, allocations: 0 / 414.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000449/0.4314, allocations: 145 kB / 414.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.4315, allocations: 81.11 kB / 414.7 MB, free: 10.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.4333, allocations: 0.9158 MB / 415.6 MB, free: 9.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.4334, allocations: 25.7 kB / 415.6 MB, free: 9.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.4336, allocations: 250.6 kB / 415.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.4337, allocations: 23.73 kB / 415.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.4337, allocations: 8 kB / 415.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4339, allocations: 318.8 kB / 416.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.434, allocations: 35.98 kB / 416.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4341, allocations: 57.56 kB / 416.3 MB, free: 9.148 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.4343, allocations: 99.39 kB / 416.4 MB, free: 9.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.68e-06/0.4343, allocations: 0 / 416.4 MB, free: 9.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004165/0.4347, allocations: 197 kB / 416.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.4348, allocations: 63.34 kB / 416.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.758e-06/0.4349, allocations: 4 kB / 416.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4349, allocations: 0 / 416.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.435, allocations: 19.92 kB / 416.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.542e-06/0.435, allocations: 4 kB / 416.7 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4352, allocations: 12.03 kB / 416.7 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.4353, allocations: 8 kB / 416.7 MB, free: 8.707 MB / 346.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.0003408/0.4356, allocations: 226.6 kB / 416.9 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.4357, allocations: 47.44 kB / 417 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.4362, allocations: 161.2 kB / 417.1 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.259e-06/0.4362, allocations: 4 kB / 417.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4362, allocations: 0 / 417.1 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.688e-06/0.4362, allocations: 4.453 kB / 417.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.4367, allocations: 365.3 kB / 417.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.089e-06/0.4368, allocations: 0 / 417.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.465e-05/0.4369, allocations: 11.94 kB / 417.5 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.325e-06/0.4369, allocations: 0 / 417.5 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.4369, allocations: 4 kB / 417.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.613e-06/0.437, allocations: 0 / 417.5 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.962e-06/0.437, allocations: 4 kB / 417.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.4376, allocations: 191 kB / 417.7 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/0.4379, allocations: 180.5 kB / 417.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.438, allocations: 4 kB / 417.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.4381, allocations: 11.98 kB / 417.9 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4382, allocations: 8 kB / 417.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.4382, allocations: 4 kB / 417.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.4395, allocations: 0.7291 MB / 418.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-06/0.4395, allocations: 0 / 418.6 MB, free: 6.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005377/0.4401, allocations: 103.9 kB / 418.7 MB, free: 6.562 MB / 346.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 (8): * Single equations (assignments): 6 * 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.001625/0.4417, allocations: 489.7 kB / 419.2 MB, free: 6.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.4422, allocations: 198.7 kB / 419.4 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.514e-06/0.4422, allocations: 0 / 419.4 MB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.4423, allocations: 27.98 kB / 419.4 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.4427, allocations: 50.23 kB / 419.5 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/0.4447, allocations: 0.9851 MB / 420.5 MB, free: 4.844 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.4454, allocations: 0.8468 MB / 421.3 MB, free: 3.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4456, allocations: 35.44 kB / 421.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.945e-06/0.4456, allocations: 0 / 421.3 MB, free: 3.938 MB / 346.7 MB Notification: Performance of Templates: time 0.01211/0.4577, allocations: 5.505 MB / 426.9 MB, free: 14.43 MB / 362.7 MB