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.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 234.9 MB / 250.4 MB, free: 9.699 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 19.98 kB / 314.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3568, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00276/0.3596, allocations: 1.512 MB / 370.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3614, allocations: 0.7462 MB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.3615, allocations: 0 / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3618, allocations: 23.91 kB / 371.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.362, allocations: 43.81 kB / 371.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3623, allocations: 67.8 kB / 371.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.3625, allocations: 87.84 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3627, allocations: 25.38 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3628, allocations: 43.83 kB / 371.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.988e-05/0.3629, allocations: 43.78 kB / 371.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.363, allocations: 0 / 371.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3631, allocations: 27.98 kB / 371.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.3632, allocations: 23.91 kB / 371.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.3632, allocations: 45.64 kB / 372 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3635, allocations: 100.8 kB / 372.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3635, allocations: 0 / 372.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3635, allocations: 0 / 372.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3635, allocations: 0 / 372.1 MB, free: 9.973 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007025/0.3642, allocations: 0.5003 MB / 372.6 MB, free: 9.406 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3643, allocations: 11.97 kB / 372.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.3643, allocations: 42.56 kB / 372.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3644, allocations: 11.81 kB / 372.6 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3647, allocations: 211.6 kB / 372.8 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.3647, allocations: 7.984 kB / 372.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.3648, allocations: 8 kB / 372.8 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.3651, allocations: 81.66 kB / 372.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3651, allocations: 0 / 372.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3651, allocations: 7.891 kB / 372.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-06/0.3652, allocations: 4 kB / 372.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.3654, allocations: 47.97 kB / 373 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.3661, allocations: 356.6 kB / 373.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.3666, allocations: 94.56 kB / 373.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3666, allocations: 0 / 373.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3669, allocations: 87.36 kB / 373.5 MB, free: 8.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.3669, allocations: 7.938 kB / 373.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006201/0.3676, allocations: 145.5 kB / 373.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.3676, allocations: 55.41 kB / 373.7 MB, free: 8.105 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.3678, allocations: 167.3 kB / 373.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3679, allocations: 33.64 kB / 373.9 MB, free: 7.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.368, allocations: 178.4 kB / 374.1 MB, free: 7.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.3681, allocations: 19.72 kB / 374.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.3681, allocations: 4 kB / 374.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3682, allocations: 318.8 kB / 374.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.3684, allocations: 35.98 kB / 374.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3686, allocations: 62.55 kB / 374.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.3689, allocations: 77.94 kB / 374.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3689, allocations: 384 / 374.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005429/0.3695, allocations: 179.2 kB / 374.8 MB, free: 7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.3695, allocations: 41.69 kB / 374.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3695, allocations: 96 / 374.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3696, allocations: 8 kB / 374.8 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3698, allocations: 27.92 kB / 374.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.3698, allocations: 0 / 374.8 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3699, allocations: 15.84 kB / 374.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.37, allocations: 8 kB / 374.9 MB, free: 6.895 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001663/0.3701, allocations: 125.8 kB / 375 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.3702, allocations: 15.84 kB / 375 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.3702, allocations: 21.41 kB / 375 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.3703, allocations: 3.984 kB / 375 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3703, allocations: 0 / 375 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3703, allocations: 0 / 375 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.3706, allocations: 209.5 kB / 375.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3706, allocations: 0 / 375.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3707, allocations: 19.92 kB / 375.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.3708, allocations: 3.953 kB / 375.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3708, allocations: 0 / 375.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3708, allocations: 0 / 375.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3708, allocations: 4 kB / 375.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.3715, allocations: 188.9 kB / 375.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3716, allocations: 96.94 kB / 375.5 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.3717, allocations: 11.89 kB / 375.6 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3718, allocations: 8.062 kB / 375.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.3718, allocations: 11.98 kB / 375.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3719, allocations: 4 kB / 375.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.372, allocations: 124.9 kB / 375.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.372, allocations: 0 / 375.7 MB, free: 5.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.3724, allocations: 31.98 kB / 375.7 MB, free: 5.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001894/0.3743, allocations: 0.9989 MB / 376.7 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.3748, allocations: 175.2 kB / 376.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3748, allocations: 0 / 376.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.375, allocations: 35.98 kB / 376.9 MB, free: 4.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.3754, allocations: 39.95 kB / 377 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.3764, allocations: 0.5433 MB / 377.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3767, allocations: 0.7121 MB / 378.2 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.3768, allocations: 35.42 kB / 378.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3768, allocations: 0 / 378.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.573/2.95, allocations: 2.528 MB / 380.8 MB, free: 0.8398 MB / 298.7 MB