Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.122/2.122, allocations: 209.3 MB / 224.8 MB, free: 0.5352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004247, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.348, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002361/0.3504, allocations: 1.289 MB / 332.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.3514, allocations: 417.8 kB / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.3515, allocations: 0 / 333 MB, free: 5.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.3518, allocations: 25.42 kB / 333 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.352, allocations: 39.23 kB / 333 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.3523, allocations: 58.25 kB / 333.1 MB, free: 5.504 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3525, allocations: 49.61 kB / 333.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3526, allocations: 13.5 kB / 333.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.3527, allocations: 32.16 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.3528, allocations: 18.03 kB / 333.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3528, allocations: 1.281 kB / 333.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.353, allocations: 33.95 kB / 333.2 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.3531, allocations: 21.72 kB / 333.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.3532, allocations: 41.22 kB / 333.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002434/0.3534, allocations: 76.27 kB / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3534, allocations: 0 / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3534, allocations: 1.469 kB / 333.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.3535, allocations: 0 / 333.4 MB, free: 5.379 MB / 266.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.0004858/0.354, allocations: 400.3 kB / 333.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.354, allocations: 10.69 kB / 333.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.3541, allocations: 35.17 kB / 333.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.3541, allocations: 8.062 kB / 333.8 MB, free: 4.918 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3543, allocations: 206.8 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3544, allocations: 1.188 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.3544, allocations: 2.922 kB / 334 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3546, allocations: 47.81 kB / 334.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3546, allocations: 0.75 kB / 334.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3546, allocations: 0 / 334.1 MB, free: 4.656 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3546, allocations: 5.594 kB / 334.1 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.3547, allocations: 12.73 kB / 334.1 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.3551, allocations: 283.1 kB / 334.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3554, allocations: 42.55 kB / 334.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.3554, allocations: 1 kB / 334.4 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3556, allocations: 55.45 kB / 334.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.274e-06/0.3556, allocations: 0 / 334.5 MB, free: 4.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004955/0.3561, allocations: 115.6 kB / 334.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.3562, allocations: 60.53 kB / 334.6 MB, free: 4.141 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3564, allocations: 174.8 kB / 334.8 MB, free: 4.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3564, allocations: 32.11 kB / 334.8 MB, free: 3.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.3565, allocations: 156.2 kB / 335 MB, free: 3.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3565, allocations: 16.39 kB / 335 MB, free: 3.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.3565, allocations: 1.125 kB / 335 MB, free: 3.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.3566, allocations: 313.4 kB / 335.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.3567, allocations: 19.75 kB / 335.3 MB, free: 3.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.3568, allocations: 24.03 kB / 335.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.3568, allocations: 46.39 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3569, allocations: 1.219 kB / 335.4 MB, free: 3.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002572/0.3571, allocations: 112.5 kB / 335.5 MB, free: 3.367 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.3572, allocations: 33.28 kB / 335.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3572, allocations: 1 kB / 335.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3572, allocations: 0 / 335.5 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.3573, allocations: 10.14 kB / 335.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3573, allocations: 3.938 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.3574, allocations: 11.12 kB / 335.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.3574, allocations: 11.58 kB / 335.6 MB, free: 3.316 MB / 266.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 () * Number of clocked 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.0001088/0.3576, allocations: 133.7 kB / 335.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3576, allocations: 10.84 kB / 335.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.3577, allocations: 14.75 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3577, allocations: 0.7031 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3577, allocations: 1.281 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3577, allocations: 0.7031 kB / 335.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.3581, allocations: 340.1 kB / 336.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3581, allocations: 288 / 336.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.3582, allocations: 10.16 kB / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.3582, allocations: 0 / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3582, allocations: 2.219 kB / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3582, allocations: 0 / 336.1 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.3582, allocations: 6.281 kB / 336.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.3584, allocations: 171.4 kB / 336.3 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.3585, allocations: 85.25 kB / 336.3 MB, free: 2.582 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3585, allocations: 5.766 kB / 336.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.3586, allocations: 1.781 kB / 336.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.3586, allocations: 4.578 kB / 336.4 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3587, allocations: 6.734 kB / 336.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3588, allocations: 131.4 kB / 336.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3588, allocations: 0 / 336.5 MB, free: 2.484 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.3592, allocations: 28.66 kB / 336.5 MB, free: 2.477 MB / 266.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.001266/0.3605, allocations: 0.9757 MB / 337.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.3607, allocations: 102.2 kB / 337.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3608, allocations: 1.344 kB / 337.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.3608, allocations: 23.05 kB / 337.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3612, allocations: 23.3 kB / 337.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.362, allocations: 443.6 kB / 338.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.3622, allocations: 0.7024 MB / 338.8 MB, free: 476 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.3623, allocations: 24.62 kB / 338.8 MB, free: 460 kB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3623, allocations: 0 / 338.8 MB, free: 460 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.535/2.897, allocations: 2.084 MB / 340.9 MB, free: 15.64 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,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_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.verboseRead,t_new.y[1],time