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.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.91e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2746, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.4032, allocations: 82.15 MB / 440.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4035, allocations: 67.97 kB / 440.3 MB, free: 12.61 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. Notification: Performance of FrontEnd - DAE generated: time 0.01484/0.4184, allocations: 3.572 MB / 443.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4184, allocations: 0 / 443.8 MB, free: 9.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.4184, allocations: 4 kB / 443.8 MB, free: 9.031 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007255/0.4192, allocations: 0.4959 MB / 444.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4192, allocations: 8.031 kB / 444.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.4193, allocations: 23.77 kB / 444.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.4197, allocations: 215.5 kB / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.4198, allocations: 0 / 444.6 MB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.4198, allocations: 12 kB / 444.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001309/0.4199, allocations: 31.98 kB / 444.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.4201, allocations: 65.67 kB / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.625e-06/0.4201, allocations: 0 / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4202, allocations: 3.953 kB / 444.7 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4202, allocations: 4 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.4209, allocations: 345.2 kB / 445 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.4212, allocations: 74.69 kB / 445.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.4213, allocations: 44.78 kB / 445.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4214, allocations: 3.953 kB / 445.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.4216, allocations: 75.33 kB / 445.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.177e-06/0.4216, allocations: 0 / 445.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003102/0.4219, allocations: 101.5 kB / 445.3 MB, free: 7.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.4219, allocations: 55.34 kB / 445.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.4222, allocations: 158.4 kB / 445.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.4222, allocations: 33.7 kB / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4223, allocations: 170.5 kB / 445.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.4224, allocations: 23.66 kB / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-06/0.4224, allocations: 0 / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4226, allocations: 318.8 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.4227, allocations: 32 kB / 446.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.4228, allocations: 54.56 kB / 446.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.423, allocations: 39.98 kB / 446.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.914e-06/0.423, allocations: 96 / 446.2 MB, free: 6.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00035/0.4233, allocations: 145.6 kB / 446.3 MB, free: 6.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.485e-05/0.4234, allocations: 44.31 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.664e-06/0.4234, allocations: 0 / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.4234, allocations: 4 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4236, allocations: 23.92 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.334e-06/0.4236, allocations: 4 kB / 446.4 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.4237, allocations: 15.97 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.4238, allocations: 7.984 kB / 446.4 MB, free: 6.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001134/0.4239, allocations: 108.9 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.424, allocations: 7.906 kB / 446.5 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.4243, allocations: 119.4 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.104e-06/0.4243, allocations: 7.984 kB / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.213e-06/0.4243, allocations: 0 / 446.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.681e-06/0.4243, allocations: 4 kB / 446.7 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.4246, allocations: 178.2 kB / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.4246, allocations: 0 / 446.8 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.4247, allocations: 16 kB / 446.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.4247, allocations: 0 / 446.9 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.4247, allocations: 4 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.149e-06/0.4248, allocations: 0 / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.841e-06/0.4248, allocations: 15.81 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.4251, allocations: 161 kB / 447 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4253, allocations: 100.9 kB / 447.1 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.4253, allocations: 3.938 kB / 447.1 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.4254, allocations: 11.98 kB / 447.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.4255, allocations: 7.984 kB / 447.2 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.4255, allocations: 3.953 kB / 447.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.4257, allocations: 125.2 kB / 447.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4257, allocations: 0 / 447.3 MB, free: 5.258 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000348/0.426, allocations: 39.92 kB / 447.3 MB, free: 5.219 MB / 378.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: 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 (10): * Single equations (assignments): 8 * 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.001113/0.4272, allocations: 339.4 kB / 447.7 MB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.4275, allocations: 163.3 kB / 447.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.264e-06/0.4275, allocations: 0 / 447.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.4276, allocations: 35.94 kB / 447.8 MB, free: 4.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.4279, allocations: 20.59 kB / 447.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005485/0.4285, allocations: 197.1 kB / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4289, allocations: 0.7235 MB / 448.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.429, allocations: 19.44 kB / 448.8 MB, free: 3.711 MB / 378.7 MB Notification: Performance of SimCode: time 1.99e-06/0.429, allocations: 0 / 448.8 MB, free: 3.711 MB / 378.7 MB Notification: Performance of Templates: time 0.005243/0.4343, allocations: 2.067 MB / 450.9 MB, free: 1.648 MB / 378.7 MB