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.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006064/0.0006069, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.348, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002261/0.3504, allocations: 1.289 MB / 332.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.3514, allocations: 425.4 kB / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.3515, allocations: 0 / 333 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.3518, allocations: 21.7 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.352, allocations: 30.62 kB / 333 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3522, allocations: 58.5 kB / 333.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3524, allocations: 60.98 kB / 333.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.3525, allocations: 10.62 kB / 333.2 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.3526, allocations: 27.91 kB / 333.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.3527, allocations: 25.22 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3527, allocations: 1.938 kB / 333.2 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.3528, allocations: 33.3 kB / 333.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.3529, allocations: 17.97 kB / 333.3 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.353, allocations: 34.34 kB / 333.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.3532, allocations: 74.89 kB / 333.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.3532, allocations: 4 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3532, allocations: 1.312 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.3532, allocations: 0 / 333.4 MB, free: 5.391 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.0004689/0.3537, allocations: 405.5 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3537, allocations: 9.469 kB / 333.8 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.3538, allocations: 36.8 kB / 333.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3538, allocations: 6.625 kB / 333.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.354, allocations: 198.6 kB / 334 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3541, allocations: 7.422 kB / 334 MB, free: 4.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.3541, allocations: 6.125 kB / 334 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3542, allocations: 42.23 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3543, allocations: 1.094 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3543, allocations: 0.7969 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3543, allocations: 1 kB / 334.1 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.686e-05/0.3544, allocations: 17.42 kB / 334.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3547, allocations: 279.3 kB / 334.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.355, allocations: 45.48 kB / 334.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.355, allocations: 1.281 kB / 334.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3552, allocations: 59.56 kB / 334.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.3552, allocations: 0 / 334.5 MB, free: 4.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004813/0.3557, allocations: 116.9 kB / 334.6 MB, free: 4.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.3557, allocations: 52.84 kB / 334.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.356, allocations: 185.9 kB / 334.8 MB, free: 4.023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.356, allocations: 27.02 kB / 334.9 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.356, allocations: 161.3 kB / 335 MB, free: 3.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3561, allocations: 12.92 kB / 335 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.3561, allocations: 0 / 335 MB, free: 3.828 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.3562, allocations: 316.8 kB / 335.3 MB, free: 3.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/0.3562, allocations: 16.83 kB / 335.3 MB, free: 3.508 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.479e-05/0.3563, allocations: 19.91 kB / 335.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.899e-05/0.3564, allocations: 47.3 kB / 335.4 MB, free: 3.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.3564, allocations: 4 kB / 335.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002174/0.3566, allocations: 112.9 kB / 335.5 MB, free: 3.375 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.3567, allocations: 37.22 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3567, allocations: 0.6562 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3567, allocations: 1.5 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.3568, allocations: 8.312 kB / 335.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3568, allocations: 5 kB / 335.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.352e-05/0.3569, allocations: 6.953 kB / 335.6 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.3569, allocations: 3.094 kB / 335.6 MB, free: 3.332 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.0001003/0.357, allocations: 127.8 kB / 335.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.3571, allocations: 9.234 kB / 335.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.404e-05/0.3571, allocations: 17.78 kB / 335.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3571, allocations: 4.969 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3572, allocations: 0 / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3572, allocations: 1.766 kB / 335.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.3575, allocations: 339.9 kB / 336.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3576, allocations: 0 / 336.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.3576, allocations: 13.8 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3576, allocations: 1.922 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3576, allocations: 2.031 kB / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3577, allocations: 0 / 336.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3577, allocations: 3.953 kB / 336.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3578, allocations: 168.5 kB / 336.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3579, allocations: 84.78 kB / 336.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.3579, allocations: 1.953 kB / 336.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.358, allocations: 5.812 kB / 336.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.3581, allocations: 8.797 kB / 336.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3581, allocations: 7.344 kB / 336.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.3582, allocations: 127.1 kB / 336.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3583, allocations: 0 / 336.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.3586, allocations: 32.55 kB / 336.5 MB, free: 2.488 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.001269/0.3599, allocations: 0.9727 MB / 337.5 MB, free: 1.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.3601, allocations: 106.1 kB / 337.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3602, allocations: 0 / 337.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-05/0.3602, allocations: 16.17 kB / 337.6 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3605, allocations: 22.28 kB / 337.6 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007549/0.3613, allocations: 449.3 kB / 338.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3615, allocations: 0.7014 MB / 338.8 MB, free: 492 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.3616, allocations: 28.52 kB / 338.8 MB, free: 472 kB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3616, allocations: 0 / 338.8 MB, free: 472 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.763/3.124, allocations: 2.084 MB / 340.9 MB, free: 15.66 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_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