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.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.204e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.3989, allocations: 81.43 MB / 439.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.3992, allocations: 67.95 kB / 439.5 MB, free: 13.34 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getTableValue. [/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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02044/0.4197, allocations: 5.004 MB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.566e-06/0.4197, allocations: 4 kB / 444.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.4198, allocations: 3.938 kB / 444.6 MB, free: 8.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007459/0.4205, allocations: 0.5477 MB / 445.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4206, allocations: 8.031 kB / 445.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.4206, allocations: 19.75 kB / 445.1 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.4211, allocations: 234.7 kB / 445.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4211, allocations: 0 / 445.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.4212, allocations: 12 kB / 445.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001161/0.4213, allocations: 27.98 kB / 445.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.4215, allocations: 96.98 kB / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.212e-06/0.4216, allocations: 0 / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4216, allocations: 0 / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.065e-06/0.4216, allocations: 4 kB / 445.5 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.4219, allocations: 215 kB / 445.7 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.4221, allocations: 98.06 kB / 445.8 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.4222, allocations: 33.72 kB / 445.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4223, allocations: 0 / 445.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.4225, allocations: 113.2 kB / 445.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/0.4225, allocations: 3.938 kB / 446 MB, free: 6.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003936/0.4229, allocations: 129.4 kB / 446.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.423, allocations: 136.5 kB / 446.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.4233, allocations: 179 kB / 446.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.4234, allocations: 29.7 kB / 446.4 MB, free: 6.199 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4235, allocations: 170.8 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.4235, allocations: 31.55 kB / 446.6 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/0.4236, allocations: 3.938 kB / 446.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4238, allocations: 322.8 kB / 446.9 MB, free: 5.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.4239, allocations: 36 kB / 447 MB, free: 5.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.424, allocations: 85.69 kB / 447.1 MB, free: 5.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4242, allocations: 60 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-06/0.4242, allocations: 0 / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000431/0.4247, allocations: 165.4 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.4248, allocations: 67.39 kB / 447.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.902e-06/0.4248, allocations: 3.984 kB / 447.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4248, allocations: 4 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.425, allocations: 19.98 kB / 447.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.872e-06/0.425, allocations: 8.062 kB / 447.4 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.4252, allocations: 19.8 kB / 447.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.4252, allocations: 8 kB / 447.4 MB, free: 5.164 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * 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.0001295/0.4253, allocations: 120.9 kB / 447.5 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.4254, allocations: 15.81 kB / 447.5 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.4258, allocations: 147.2 kB / 447.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.408e-06/0.4258, allocations: 4 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-06/0.4258, allocations: 4 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-06/0.4259, allocations: 0 / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.4261, allocations: 202 kB / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4261, allocations: 0 / 447.9 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.778e-05/0.4262, allocations: 12 kB / 447.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.322e-06/0.4262, allocations: 0 / 447.9 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4263, allocations: 8.359 kB / 447.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.256e-06/0.4263, allocations: 4 kB / 447.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.894e-06/0.4263, allocations: 4 kB / 447.9 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.4267, allocations: 195.2 kB / 448.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.4268, allocations: 104.9 kB / 448.2 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.4269, allocations: 8 kB / 448.2 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.427, allocations: 4 kB / 448.2 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.427, allocations: 7.984 kB / 448.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4271, allocations: 4 kB / 448.2 MB, free: 4.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.4273, allocations: 151.1 kB / 448.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4273, allocations: 0 / 448.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.4278, allocations: 71.92 kB / 448.4 MB, free: 4.016 MB / 378.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00207/0.4298, allocations: 0.5932 MB / 449 MB, free: 3.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.4303, allocations: 254.7 kB / 449.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.883e-06/0.4304, allocations: 0 / 449.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4305, allocations: 40 kB / 449.3 MB, free: 3.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.4309, allocations: 37.16 kB / 449.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.4314, allocations: 213 kB / 449.6 MB, free: 2.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.4319, allocations: 0.7241 MB / 450.3 MB, free: 2.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.432, allocations: 19.42 kB / 450.3 MB, free: 2.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.72e-06/0.432, allocations: 0 / 450.3 MB, free: 2.145 MB / 378.7 MB Notification: Performance of Templates: time 0.006924/0.4389, allocations: 3.075 MB / 453.4 MB, free: 15.06 MB / 394.7 MB