Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006607/0.0006609, allocations: 12 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3466, allocations: 54.88 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002576/0.3493, allocations: 1.349 MB / 370.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3511, allocations: 0.7125 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.3512, allocations: 3.938 kB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.3516, allocations: 19.91 kB / 371.4 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3518, allocations: 47.86 kB / 371.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.352, allocations: 51.83 kB / 371.5 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.3522, allocations: 71.84 kB / 371.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3524, allocations: 4 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3525, allocations: 39.84 kB / 371.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.428e-05/0.3526, allocations: 35.78 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.3526, allocations: 8 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3528, allocations: 27.98 kB / 371.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.3528, allocations: 23.86 kB / 371.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.3529, allocations: 37.64 kB / 371.7 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.3531, allocations: 96.84 kB / 371.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.3531, allocations: 0 / 371.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3532, allocations: 0 / 371.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3532, allocations: 0 / 371.8 MB, free: 8.148 MB / 298.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.0006579/0.3538, allocations: 458.2 kB / 372.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3539, allocations: 8.031 kB / 372.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.354, allocations: 42.55 kB / 372.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.354, allocations: 11.81 kB / 372.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.3544, allocations: 206.8 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3544, allocations: 0 / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.3544, allocations: 11.94 kB / 372.5 MB, free: 7.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3547, allocations: 53.67 kB / 372.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3547, allocations: 0 / 372.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.3547, allocations: 11.94 kB / 372.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3547, allocations: 0 / 372.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3548, allocations: 27.98 kB / 372.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.3553, allocations: 292.9 kB / 372.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.3556, allocations: 54.62 kB / 373 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.3556, allocations: 4 kB / 373 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3559, allocations: 75.33 kB / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.3559, allocations: 0 / 373 MB, free: 6.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007888/0.3567, allocations: 181.1 kB / 373.2 MB, free: 6.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3568, allocations: 51.41 kB / 373.3 MB, free: 6.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3571, allocations: 222.3 kB / 373.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.3571, allocations: 25.7 kB / 373.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3572, allocations: 178.4 kB / 373.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.3573, allocations: 23.66 kB / 373.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.3573, allocations: 4 kB / 373.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3575, allocations: 318.8 kB / 374 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.3576, allocations: 31.98 kB / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.3578, allocations: 50.34 kB / 374.1 MB, free: 5.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3579, allocations: 61.7 kB / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3579, allocations: 0 / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004411/0.3584, allocations: 167.2 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.07e-05/0.3585, allocations: 33.7 kB / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3585, allocations: 0 / 374.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3585, allocations: 4.094 kB / 374.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.3587, allocations: 19.92 kB / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3587, allocations: 0 / 374.4 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.3588, allocations: 8 kB / 374.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3588, allocations: 4 kB / 374.4 MB, free: 5.301 MB / 298.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 () * Number of clocked 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 0.000166/0.359, allocations: 137.8 kB / 374.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.359, allocations: 19.8 kB / 374.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.3591, allocations: 25.27 kB / 374.6 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3591, allocations: 4 kB / 374.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3591, allocations: 0 / 374.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3592, allocations: 0 / 374.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.3599, allocations: 395.3 kB / 375 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.3599, allocations: 4.375 kB / 375 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.36, allocations: 4 kB / 375 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.36, allocations: 8.031 kB / 375 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3601, allocations: 4 kB / 375 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3601, allocations: 3.984 kB / 375 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3601, allocations: 4 kB / 375 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3605, allocations: 196.3 kB / 375.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.3606, allocations: 100.9 kB / 375.3 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.3606, allocations: 8 kB / 375.3 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3608, allocations: 4 kB / 375.3 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.3608, allocations: 11.92 kB / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3608, allocations: 4 kB / 375.3 MB, free: 4.285 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.3611, allocations: 163.2 kB / 375.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3611, allocations: 0 / 375.5 MB, free: 4.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003775/0.3615, allocations: 31.98 kB / 375.5 MB, free: 4.094 MB / 298.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002029/0.3635, allocations: 1.1 MB / 376.6 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.364, allocations: 151.3 kB / 376.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.364, allocations: 0 / 376.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.3642, allocations: 32 kB / 376.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3645, allocations: 15.98 kB / 376.8 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.3656, allocations: 0.5318 MB / 377.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.366, allocations: 0.7101 MB / 378 MB, free: 1.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.849e-05/0.3661, allocations: 35.42 kB / 378.1 MB, free: 1.484 MB / 298.7 MB Notification: Performance of SimCode: time 1.152e-06/0.3661, allocations: 4 kB / 378.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.516/2.882, allocations: 2.513 MB / 380.6 MB, free: 14.96 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_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),der(t_new.timeScaled),t_new.columns[1],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.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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time