Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235.1 MB / 243 MB, free: 9.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.699e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1265/0.4595, allocations: 81.22 MB / 439.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4598, allocations: 75.91 kB / 439.3 MB, free: 13.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01834/0.4782, allocations: 4.366 MB / 443.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4782, allocations: 0 / 443.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4782, allocations: 0 / 443.7 MB, free: 9.164 MB / 378.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.000587/0.4788, allocations: 453.5 kB / 444.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4789, allocations: 8.031 kB / 444.2 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.4789, allocations: 7.906 kB / 444.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4793, allocations: 199.5 kB / 444.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.4793, allocations: 0 / 444.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.4794, allocations: 7.938 kB / 444.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.364e-05/0.4795, allocations: 15.94 kB / 444.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.4796, allocations: 53.67 kB / 444.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4796, allocations: 7.953 kB / 444.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.4796, allocations: 4 kB / 444.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-06/0.4797, allocations: 0 / 444.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.4799, allocations: 174.2 kB / 444.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.4801, allocations: 50.62 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.4801, allocations: 16.86 kB / 444.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.4802, allocations: 7.938 kB / 444.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.4803, allocations: 63.48 kB / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.576e-06/0.4803, allocations: 0 / 444.8 MB, free: 7.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002515/0.4806, allocations: 69.59 kB / 444.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4807, allocations: 55.41 kB / 444.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.4809, allocations: 165.9 kB / 445 MB, free: 7.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.4809, allocations: 33.7 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.4811, allocations: 158.6 kB / 445.2 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.4811, allocations: 15.81 kB / 445.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-06/0.4811, allocations: 0 / 445.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4813, allocations: 318.8 kB / 445.6 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.4814, allocations: 27.98 kB / 445.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.4815, allocations: 45.59 kB / 445.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.4816, allocations: 35.92 kB / 445.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-06/0.4816, allocations: 0 / 445.7 MB, free: 6.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002711/0.4819, allocations: 105.6 kB / 445.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.482, allocations: 41.69 kB / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-06/0.482, allocations: 0 / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.482, allocations: 4 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4821, allocations: 8 kB / 445.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.38e-06/0.4821, allocations: 0 / 445.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.4822, allocations: 19.83 kB / 445.8 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.4823, allocations: 11.94 kB / 445.8 MB, free: 6.797 MB / 378.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001067/0.4824, allocations: 109 kB / 446 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.183e-05/0.4825, allocations: 7.906 kB / 446 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.4827, allocations: 93.95 kB / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-06/0.4827, allocations: 0 / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.594e-06/0.4827, allocations: 0 / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.786e-06/0.4828, allocations: 0 / 446.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.483, allocations: 170.1 kB / 446.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.483, allocations: 0 / 446.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.483, allocations: 4 kB / 446.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.55e-06/0.483, allocations: 0 / 446.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.4831, allocations: 4 kB / 446.2 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-06/0.4831, allocations: 4 kB / 446.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-06/0.4831, allocations: 192 / 446.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.4833, allocations: 113.5 kB / 446.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4834, allocations: 100.9 kB / 446.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.4835, allocations: 0 / 446.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.4835, allocations: 4 kB / 446.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.4836, allocations: 3.984 kB / 446.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.4836, allocations: 8 kB / 446.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4838, allocations: 139.3 kB / 446.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.43e-07/0.4838, allocations: 4 kB / 446.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.4841, allocations: 27.94 kB / 446.6 MB, free: 5.93 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001143/0.4853, allocations: 329.8 kB / 446.9 MB, free: 5.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4857, allocations: 143.3 kB / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4857, allocations: 0 / 447.1 MB, free: 5.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.4857, allocations: 16 kB / 447.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.486, allocations: 24.61 kB / 447.1 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.4865, allocations: 167 kB / 447.3 MB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.4869, allocations: 0.7079 MB / 448 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.487, allocations: 15.44 kB / 448 MB, free: 4.516 MB / 378.7 MB Notification: Performance of SimCode: time 1.795e-06/0.487, allocations: 0 / 448 MB, free: 4.516 MB / 378.7 MB Notification: Performance of Templates: time 0.00439/0.4914, allocations: 1.697 MB / 449.7 MB, free: 2.82 MB / 378.7 MB