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.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.655e-05, allocations: 7.938 kB / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2785, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4016, allocations: 81.61 MB / 439.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.4019, allocations: 75.95 kB / 439.7 MB, free: 13.14 MB / 378.7 MB [/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.01964/0.4216, allocations: 4.813 MB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.4216, allocations: 0 / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.4216, allocations: 0 / 444.5 MB, free: 8.316 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005835/0.4222, allocations: 449.6 kB / 445 MB, free: 7.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4223, allocations: 8.031 kB / 445 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.4223, allocations: 15.84 kB / 445 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.4227, allocations: 202.8 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4227, allocations: 4 kB / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.4228, allocations: 7.984 kB / 445.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.625e-05/0.4229, allocations: 19.94 kB / 445.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.423, allocations: 63.39 kB / 445.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.423, allocations: 7.953 kB / 445.3 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4231, allocations: 4 kB / 445.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-06/0.4231, allocations: 0 / 445.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.4235, allocations: 277.4 kB / 445.6 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.4237, allocations: 50.62 kB / 445.6 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.023e-05/0.4237, allocations: 16.98 kB / 445.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4238, allocations: 4 kB / 445.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.4239, allocations: 67.34 kB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.517e-06/0.4239, allocations: 4 kB / 445.7 MB, free: 6.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.4245, allocations: 150 kB / 445.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.4246, allocations: 77.11 kB / 445.9 MB, free: 6.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.4247, allocations: 131.9 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4248, allocations: 29.7 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.4249, allocations: 158.6 kB / 446.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.4249, allocations: 23.64 kB / 446.3 MB, free: 6.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.425, allocations: 4 kB / 446.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4251, allocations: 318.8 kB / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.4252, allocations: 28 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.4253, allocations: 50.5 kB / 446.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.748e-05/0.4254, allocations: 35.98 kB / 446.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.111e-06/0.4255, allocations: 0 / 446.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003108/0.4258, allocations: 125.5 kB / 446.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.4258, allocations: 29.7 kB / 446.9 MB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.4259, allocations: 4 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.4259, allocations: 8.047 kB / 446.9 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.426, allocations: 12 kB / 446.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.426, allocations: 3.938 kB / 446.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.4261, allocations: 7.938 kB / 446.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.4262, allocations: 7.984 kB / 446.9 MB, free: 5.719 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 (11): * Single equations (assignments): 10 * 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 9.617e-05/0.4263, allocations: 105 kB / 447 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.4263, allocations: 11.86 kB / 447 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.4266, allocations: 118.3 kB / 447.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.346e-06/0.4266, allocations: 3.984 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-06/0.4267, allocations: 0 / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-06/0.4267, allocations: 0 / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.4272, allocations: 367.8 kB / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.835e-06/0.4273, allocations: 7.953 kB / 447.5 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.4273, allocations: 8 kB / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.185e-06/0.4273, allocations: 0 / 447.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4274, allocations: 4 kB / 447.5 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.981e-06/0.4274, allocations: 4.188 kB / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4274, allocations: 0 / 447.5 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.4277, allocations: 217.9 kB / 447.7 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.4278, allocations: 97.19 kB / 447.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.4279, allocations: 7.984 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.428, allocations: 11.98 kB / 447.8 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.4281, allocations: 7.984 kB / 447.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.4281, allocations: 0 / 447.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.4282, allocations: 113.7 kB / 448 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.4282, allocations: 0 / 448 MB, free: 4.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004189/0.4286, allocations: 47.92 kB / 448 MB, free: 4.508 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: 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 (9): * Single equations (assignments): 7 * 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.001541/0.4302, allocations: 456.8 kB / 448.5 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002946/0.4305, allocations: 143.3 kB / 448.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.655e-06/0.4305, allocations: 0 / 448.6 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.888e-05/0.4306, allocations: 28 kB / 448.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4309, allocations: 20.7 kB / 448.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.4314, allocations: 164.3 kB / 448.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.4318, allocations: 0.708 MB / 449.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.4319, allocations: 15.44 kB / 449.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of SimCode: time 1.604e-06/0.4319, allocations: 0 / 449.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of Templates: time 0.005031/0.4369, allocations: 2.084 MB / 451.6 MB, free: 0.8984 MB / 378.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:_D_cse1,_D_whenCondition1,der(d_t_new.u),d_t_new.u,d_t_new.y,t_new.columns[1],der(t_new.timeScaled),t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time