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.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadModel(ModelicaTest): time 1.856/1.856, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.124e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08601, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4259, allocations: 76.53 MB / 403.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4262, allocations: 77.19 kB / 403.1 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01186/0.4381, allocations: 3.214 MB / 406.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.4381, allocations: 0 / 406.4 MB, free: 8.582 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.4382, allocations: 3.844 kB / 406.4 MB, free: 8.582 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00045/0.4386, allocations: 463.1 kB / 406.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4387, allocations: 7.688 kB / 406.8 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.4387, allocations: 11.66 kB / 406.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.439, allocations: 212.2 kB / 407 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.439, allocations: 7.625 kB / 407 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.439, allocations: 3.969 kB / 407.1 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.4392, allocations: 65.61 kB / 407.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.679e-06/0.4392, allocations: 0 / 407.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4392, allocations: 7.953 kB / 407.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-06/0.4393, allocations: 0 / 407.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.4394, allocations: 33.31 kB / 407.2 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.4399, allocations: 363.2 kB / 407.5 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.4401, allocations: 71.36 kB / 407.6 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.4402, allocations: 23.02 kB / 407.6 MB, free: 7.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4403, allocations: 4 kB / 407.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.4404, allocations: 73.33 kB / 407.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.708e-06/0.4404, allocations: 0 / 407.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002345/0.4407, allocations: 98.03 kB / 407.8 MB, free: 7.363 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.4407, allocations: 55.36 kB / 407.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.4409, allocations: 141.8 kB / 408 MB, free: 7.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.4409, allocations: 33.11 kB / 408 MB, free: 7.168 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.4409, allocations: 165 kB / 408.2 MB, free: 7.012 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.441, allocations: 26.44 kB / 408.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.441, allocations: 6.969 kB / 408.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.4411, allocations: 314.8 kB / 408.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.4411, allocations: 26.28 kB / 408.5 MB, free: 6.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.4412, allocations: 43.05 kB / 408.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.4413, allocations: 54.69 kB / 408.6 MB, free: 6.625 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.55e-06/0.4414, allocations: 4 kB / 408.6 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002487/0.4416, allocations: 142 kB / 408.8 MB, free: 6.543 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.4417, allocations: 35.64 kB / 408.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4417, allocations: 0 / 408.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4417, allocations: 0 / 408.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.4418, allocations: 23.36 kB / 408.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.75e-06/0.4418, allocations: 0 / 408.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.4419, allocations: 19.52 kB / 408.8 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.442, allocations: 6.938 kB / 408.8 MB, free: 6.492 MB / 314.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 6.311e-05/0.442, allocations: 112.5 kB / 409 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.4421, allocations: 15.56 kB / 409 MB, free: 6.371 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.4423, allocations: 93.58 kB / 409.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.703e-06/0.4423, allocations: 0 / 409.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4423, allocations: 3.844 kB / 409.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4423, allocations: 3.984 kB / 409.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.4425, allocations: 202.3 kB / 409.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-06/0.4425, allocations: 0 / 409.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.4427, allocations: 11.53 kB / 409.3 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4427, allocations: 4 kB / 409.3 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4427, allocations: 7.828 kB / 409.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.32e-06/0.4427, allocations: 0 / 409.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-06/0.4427, allocations: 0 / 409.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.443, allocations: 148.4 kB / 409.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.4431, allocations: 84.83 kB / 409.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.4431, allocations: 3.812 kB / 409.5 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.758e-05/0.4432, allocations: 19.64 kB / 409.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.4433, allocations: 3.875 kB / 409.5 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4433, allocations: 3.984 kB / 409.5 MB, free: 5.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.4434, allocations: 122.5 kB / 409.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4434, allocations: 0 / 409.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000318/0.4437, allocations: 34.25 kB / 409.7 MB, free: 5.824 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0009521/0.4447, allocations: 308.5 kB / 410 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.445, allocations: 130.2 kB / 410.1 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.215e-06/0.445, allocations: 0 / 410.1 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.4451, allocations: 23.02 kB / 410.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.4453, allocations: 38.45 kB / 410.2 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.4458, allocations: 191 kB / 410.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.4459, allocations: 0.7153 MB / 411.1 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.446, allocations: 18.12 kB / 411.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of SimCode: time 1.48e-06/0.446, allocations: 0 / 411.1 MB, free: 4.672 MB / 314.7 MB Notification: Performance of Templates: time 0.003869/0.4499, allocations: 1.859 MB / 413 MB, free: 3.738 MB / 314.7 MB