Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.947e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.5468, allocations: 79.59 MB / 437.7 MB, free: 15.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5471, allocations: 55.98 kB / 437.8 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02921/0.5763, allocations: 4.428 MB / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5764, allocations: 0 / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.5764, allocations: 0 / 442.2 MB, free: 10.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001328/0.5778, allocations: 0.5458 MB / 442.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.038e-05/0.5778, allocations: 12.03 kB / 442.7 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.643e-05/0.578, allocations: 15.86 kB / 442.8 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.5782, allocations: 182.8 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.5783, allocations: 8 kB / 442.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.5783, allocations: 7.984 kB / 443 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002277/0.5786, allocations: 55.92 kB / 443 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.579, allocations: 161 kB / 443.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5791, allocations: 0 / 443.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.5791, allocations: 7.984 kB / 443.2 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5791, allocations: 3.953 kB / 443.2 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.5796, allocations: 240.8 kB / 443.4 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.58, allocations: 156.6 kB / 443.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.5803, allocations: 87.52 kB / 443.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.5803, allocations: 4 kB / 443.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/0.5808, allocations: 190.7 kB / 443.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 3.156e-06/0.5808, allocations: 0 / 443.8 MB, free: 8.758 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009887/0.5818, allocations: 281.2 kB / 444.1 MB, free: 8.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.582, allocations: 144.5 kB / 444.3 MB, free: 8.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.5823, allocations: 161.3 kB / 444.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.5824, allocations: 33.7 kB / 444.5 MB, free: 8.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5825, allocations: 166.6 kB / 444.6 MB, free: 7.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.5826, allocations: 39.55 kB / 444.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.5827, allocations: 0 / 444.7 MB, free: 7.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003081/0.583, allocations: 322.8 kB / 445 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.5833, allocations: 68.22 kB / 445 MB, free: 7.504 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.5836, allocations: 99.86 kB / 445.1 MB, free: 7.395 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/0.5841, allocations: 79.92 kB / 445.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5841, allocations: 3.938 kB / 445.2 MB, free: 7.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001106/0.5852, allocations: 281.7 kB / 445.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.5854, allocations: 122.8 kB / 445.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5854, allocations: 4 kB / 445.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.5855, allocations: 0 / 445.6 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.403e-05/0.5855, allocations: 8 kB / 445.6 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5856, allocations: 4 kB / 445.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.5858, allocations: 19.83 kB / 445.6 MB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.5859, allocations: 16 kB / 445.7 MB, free: 6.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001899/0.5861, allocations: 124 kB / 445.8 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009031/0.587, allocations: 285.6 kB / 446.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.5871, allocations: 15.89 kB / 446.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.058e-05/0.5872, allocations: 16.34 kB / 446.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5872, allocations: 4 kB / 446.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5872, allocations: 0 / 446.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.5872, allocations: 3.953 kB / 446.1 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.5876, allocations: 202 kB / 446.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.5876, allocations: 0 / 446.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.5876, allocations: 7.938 kB / 446.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.5877, allocations: 0 / 446.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.5877, allocations: 11.98 kB / 446.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5877, allocations: 0 / 446.3 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.5878, allocations: 4 kB / 446.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009217/0.5887, allocations: 360.4 kB / 446.7 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.5888, allocations: 89 kB / 446.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.5889, allocations: 15.95 kB / 446.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.5891, allocations: 15.92 kB / 446.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.5893, allocations: 15.98 kB / 446.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.5894, allocations: 23.95 kB / 446.8 MB, free: 5.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.5896, allocations: 127.2 kB / 447 MB, free: 5.426 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.5896, allocations: 0 / 447 MB, free: 5.426 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009111/0.5905, allocations: 99.86 kB / 447 MB, free: 5.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.00209/0.5927, allocations: 1.189 MB / 448.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.5935, allocations: 393.5 kB / 448.6 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5936, allocations: 4 kB / 448.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.5939, allocations: 84.28 kB / 448.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5942, allocations: 11.52 kB / 448.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.5957, allocations: 363.1 kB / 449.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.5962, allocations: 0.7236 MB / 449.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5963, allocations: 35.42 kB / 449.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5964, allocations: 0 / 449.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.822/3.418, allocations: 3.303 MB / 453.1 MB, free: 15.07 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat