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.Test43.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.278e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.4208, allocations: 75.12 MB / 395.1 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.4211, allocations: 67.97 kB / 395.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4376, allocations: 4.051 MB / 399.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.251e-06/0.4376, allocations: 0 / 399.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.4377, allocations: 4 kB / 399.3 MB, free: 1.207 MB / 330.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.0005189/0.4382, allocations: 412 kB / 399.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4383, allocations: 8.031 kB / 399.7 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.4383, allocations: 11.91 kB / 399.7 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.4386, allocations: 199.4 kB / 399.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.4386, allocations: 0 / 399.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.4387, allocations: 4 kB / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.952e-05/0.4388, allocations: 15.98 kB / 399.9 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.4389, allocations: 41.69 kB / 399.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4389, allocations: 3.938 kB / 399.9 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.682e-06/0.4389, allocations: 0 / 399.9 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-06/0.4389, allocations: 0 / 399.9 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.4394, allocations: 285.4 kB / 400.2 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4396, allocations: 38.61 kB / 400.3 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.4396, allocations: 12.84 kB / 400.3 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.4397, allocations: 0 / 400.3 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.4398, allocations: 59.41 kB / 400.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.388e-06/0.4399, allocations: 4 kB / 400.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004317/0.4403, allocations: 109.2 kB / 400.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4404, allocations: 51.41 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.4406, allocations: 170.8 kB / 400.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4407, allocations: 25.7 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4408, allocations: 158.6 kB / 400.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.4409, allocations: 19.8 kB / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.4409, allocations: 0 / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.4411, allocations: 322.8 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4413, allocations: 20 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.4414, allocations: 16 kB / 401.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.4415, allocations: 28.02 kB / 401.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4415, allocations: 0 / 401.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003666/0.4419, allocations: 93.61 kB / 401.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/0.442, allocations: 34.48 kB / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.442, allocations: 0 / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.4421, allocations: 0 / 401.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.4422, allocations: 11.98 kB / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.19e-06/0.4422, allocations: 0 / 401.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4423, allocations: 11.94 kB / 401.4 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.4424, allocations: 0 / 401.4 MB, free: 14.87 MB / 346.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 () * 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.0001301/0.4425, allocations: 113 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.4426, allocations: 11.89 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.4429, allocations: 90.22 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.396e-06/0.4429, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.443, allocations: 4 kB / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-06/0.443, allocations: 0 / 401.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.4434, allocations: 335 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4435, allocations: 3.938 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.4435, allocations: 8 kB / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4435, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.884e-06/0.4435, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.141e-06/0.4436, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4436, allocations: 0 / 401.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.4438, allocations: 187.5 kB / 402.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.4439, allocations: 85.02 kB / 402.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.4439, allocations: 4 kB / 402.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.4441, allocations: 0 / 402.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.4441, allocations: 11.98 kB / 402.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.4441, allocations: 0 / 402.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001458/0.4443, allocations: 131.2 kB / 402.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.4443, allocations: 0 / 402.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.4447, allocations: 35.94 kB / 402.4 MB, free: 13.78 MB / 346.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.0009201/0.4456, allocations: 323.8 kB / 402.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.4458, allocations: 99.41 kB / 402.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.512e-06/0.4459, allocations: 0 / 402.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.06e-05/0.4459, allocations: 19.94 kB / 402.8 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.4462, allocations: 23.94 kB / 402.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.4466, allocations: 166.3 kB / 403 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.447, allocations: 0.7077 MB / 403.7 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.4471, allocations: 15.38 kB / 403.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.367e-06/0.4471, allocations: 3.938 kB / 403.7 MB, free: 12.42 MB / 346.7 MB Notification: Performance of Templates: time 0.004175/0.4513, allocations: 1.74 MB / 405.5 MB, free: 10.68 MB / 346.7 MB