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.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 234.9 MB / 250.5 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.000423, allocations: 16 kB / 314.4 MB, free: 9.727 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3552, allocations: 54.86 MB / 369.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.00243/0.3577, allocations: 1.31 MB / 370.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3594, allocations: 0.7085 MB / 371.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.374e-05/0.3595, allocations: 0 / 371.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.3598, allocations: 47.86 kB / 371.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.3601, allocations: 47.86 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3603, allocations: 59.75 kB / 371.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3604, allocations: 63.92 kB / 371.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.3605, allocations: 7.859 kB / 371.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3606, allocations: 43.83 kB / 371.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3608, allocations: 39.83 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.3608, allocations: 4 kB / 371.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.3609, allocations: 16 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.969e-05/0.3609, allocations: 11.92 kB / 371.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.361, allocations: 37.7 kB / 371.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.3612, allocations: 67.89 kB / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.3612, allocations: 4 kB / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.02e-06/0.3612, allocations: 0 / 371.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.3612, allocations: 7.938 kB / 371.7 MB, free: 10.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006004/0.3619, allocations: 447.3 kB / 372.2 MB, free: 9.805 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3619, allocations: 8.031 kB / 372.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.997e-05/0.362, allocations: 30.56 kB / 372.2 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.362, allocations: 15.81 kB / 372.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3623, allocations: 195 kB / 372.4 MB, free: 9.512 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3623, allocations: 4 kB / 372.4 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3624, allocations: 11.94 kB / 372.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3626, allocations: 45.67 kB / 372.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3626, allocations: 0 / 372.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3626, allocations: 7.953 kB / 372.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3626, allocations: 4 kB / 372.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.595e-05/0.3627, allocations: 15.94 kB / 372.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.363, allocations: 185.6 kB / 372.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.3632, allocations: 58.61 kB / 372.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.3633, allocations: 0 / 372.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.3635, allocations: 71.33 kB / 372.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.763e-06/0.3635, allocations: 0 / 372.8 MB, free: 9.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003864/0.3639, allocations: 93.58 kB / 372.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.364, allocations: 55.36 kB / 373 MB, free: 8.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.3642, allocations: 198 kB / 373.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3642, allocations: 25.7 kB / 373.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.3643, allocations: 162.5 kB / 373.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3644, allocations: 11.91 kB / 373.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.108e-06/0.3644, allocations: 0 / 373.4 MB, free: 8.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3645, allocations: 322.8 kB / 373.7 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3646, allocations: 23.98 kB / 373.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.3648, allocations: 41.7 kB / 373.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.3649, allocations: 57.64 kB / 373.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3649, allocations: 0 / 373.8 MB, free: 8.012 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003262/0.3653, allocations: 131.2 kB / 373.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.3653, allocations: 37.69 kB / 374 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3654, allocations: 0 / 374 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3654, allocations: 4 kB / 374 MB, free: 7.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3655, allocations: 12 kB / 374 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3655, allocations: 3.953 kB / 374 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.3656, allocations: 15.95 kB / 374 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3657, allocations: 4 kB / 374 MB, free: 7.789 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 (8): * Single equations (assignments): 7 * 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.0001245/0.3658, allocations: 129.8 kB / 374.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3658, allocations: 11.81 kB / 374.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.3659, allocations: 16.3 kB / 374.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3659, allocations: 3.984 kB / 374.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3659, allocations: 0 / 374.2 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.366, allocations: 7.891 kB / 374.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3661, allocations: 185.6 kB / 374.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3662, allocations: 4 kB / 374.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3662, allocations: 4 kB / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3662, allocations: 0 / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3662, allocations: 0 / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3662, allocations: 0 / 374.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3662, allocations: 3.984 kB / 374.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.3665, allocations: 105 kB / 374.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.3666, allocations: 89 kB / 374.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3667, allocations: 8 kB / 374.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.117e-05/0.3667, allocations: 8.359 kB / 374.6 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3668, allocations: 4 kB / 374.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3668, allocations: 0 / 374.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001542/0.367, allocations: 139.2 kB / 374.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.365e-06/0.367, allocations: 3.938 kB / 374.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.3673, allocations: 23.94 kB / 374.7 MB, free: 6.965 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001575/0.3688, allocations: 0.935 MB / 375.7 MB, free: 6.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003309/0.3692, allocations: 135.3 kB / 375.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3692, allocations: 0 / 375.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.3693, allocations: 19.98 kB / 375.8 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.3696, allocations: 19.44 kB / 375.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.3704, allocations: 470.3 kB / 376.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3707, allocations: 0.7043 MB / 377 MB, free: 4.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-05/0.3708, allocations: 27.42 kB / 377 MB, free: 4.645 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.3708, allocations: 0 / 377 MB, free: 4.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.56/2.93, allocations: 2.088 MB / 379.1 MB, free: 2.555 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time