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.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004313, allocations: 15.94 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3789, allocations: 54.87 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002592/0.3816, allocations: 1.345 MB / 370.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3833, allocations: 0.7241 MB / 371.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.3833, allocations: 4 kB / 371.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3836, allocations: 23.86 kB / 371.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.3838, allocations: 47.86 kB / 371.4 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.384, allocations: 51.83 kB / 371.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3842, allocations: 71.84 kB / 371.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.3843, allocations: 4 kB / 371.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3845, allocations: 51.83 kB / 371.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.3846, allocations: 27.86 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.3846, allocations: 4 kB / 371.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3847, allocations: 23.98 kB / 371.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.3848, allocations: 27.89 kB / 371.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.3849, allocations: 49.58 kB / 371.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.3851, allocations: 96.84 kB / 371.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.3851, allocations: 0 / 371.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3851, allocations: 0 / 371.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3851, allocations: 0 / 371.8 MB, free: 10.17 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.0006659/0.3858, allocations: 478.1 kB / 372.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3859, allocations: 8.031 kB / 372.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.3859, allocations: 30.56 kB / 372.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.386, allocations: 15.81 kB / 372.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3863, allocations: 210.8 kB / 372.5 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.3863, allocations: 4 kB / 372.5 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3863, allocations: 4 kB / 372.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.3865, allocations: 57.61 kB / 372.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3866, allocations: 4 kB / 372.6 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3866, allocations: 3.953 kB / 372.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3866, allocations: 0 / 372.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.3867, allocations: 23.98 kB / 372.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004599/0.3872, allocations: 304.8 kB / 372.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.3874, allocations: 62.61 kB / 373 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.3875, allocations: 4 kB / 373 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.3877, allocations: 75.28 kB / 373.1 MB, free: 8.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.278e-06/0.3877, allocations: 3.984 kB / 373.1 MB, free: 8.719 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007574/0.3885, allocations: 185 kB / 373.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3886, allocations: 55.41 kB / 373.3 MB, free: 8.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.3889, allocations: 254.5 kB / 373.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.389, allocations: 29.7 kB / 373.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.3891, allocations: 174.4 kB / 373.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.3892, allocations: 27.64 kB / 373.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.3892, allocations: 0 / 373.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3893, allocations: 322.8 kB / 374.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3895, allocations: 23.94 kB / 374.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3896, allocations: 52.08 kB / 374.2 MB, free: 7.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3898, allocations: 65.7 kB / 374.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3898, allocations: 0 / 374.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000388/0.3902, allocations: 159.2 kB / 374.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.3903, allocations: 42.62 kB / 374.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3903, allocations: 0 / 374.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3903, allocations: 4.375 kB / 374.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.3905, allocations: 15.98 kB / 374.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3905, allocations: 0 / 374.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.043e-05/0.3906, allocations: 8 kB / 374.5 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3906, allocations: 12.03 kB / 374.5 MB, free: 7.242 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.0001629/0.3908, allocations: 129.8 kB / 374.6 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.3908, allocations: 23.7 kB / 374.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.091e-05/0.3909, allocations: 25.39 kB / 374.7 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.3909, allocations: 3.938 kB / 374.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3909, allocations: 0 / 374.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.391, allocations: 0 / 374.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.3916, allocations: 411.3 kB / 375.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3916, allocations: 0 / 375.1 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.3917, allocations: 11.98 kB / 375.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.3917, allocations: 0 / 375.1 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3917, allocations: 4 kB / 375.1 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3918, allocations: 4 kB / 375.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3918, allocations: 0 / 375.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.3921, allocations: 208.2 kB / 375.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.3922, allocations: 100.9 kB / 375.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.3923, allocations: 4 kB / 375.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3924, allocations: 11.92 kB / 375.4 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3924, allocations: 4 kB / 375.4 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.3925, allocations: 4 kB / 375.4 MB, free: 6.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.3927, allocations: 188.5 kB / 375.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3927, allocations: 3.938 kB / 375.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003463/0.3931, allocations: 32 kB / 375.6 MB, free: 5.996 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.001883/0.395, allocations: 1.086 MB / 376.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.3954, allocations: 151.3 kB / 376.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3954, allocations: 0 / 376.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.3956, allocations: 31.92 kB / 376.9 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3959, allocations: 24.06 kB / 376.9 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.397, allocations: 0.5762 MB / 377.5 MB, free: 4.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.3974, allocations: 0.72 MB / 378.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.3976, allocations: 47.41 kB / 378.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3976, allocations: 0 / 378.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/2.954, allocations: 2.683 MB / 380.9 MB, free: 0.6523 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time