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.Test23.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.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.247/2.247, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.935e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3676, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5398, allocations: 81.36 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.5402, allocations: 67.97 kB / 439.6 MB, free: 13.31 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02696/0.5672, allocations: 4.462 MB / 444 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5672, allocations: 0 / 444 MB, free: 8.848 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.5673, allocations: 7.938 kB / 444 MB, free: 8.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007299/0.568, allocations: 465.4 kB / 444.5 MB, free: 8.328 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.5681, allocations: 12.03 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.5682, allocations: 7.906 kB / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003945/0.5686, allocations: 206.9 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.5686, allocations: 0 / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.5686, allocations: 7.938 kB / 444.7 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001009/0.5688, allocations: 19.98 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.5689, allocations: 53.67 kB / 444.8 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.5689, allocations: 7.953 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.569, allocations: 0 / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.569, allocations: 7.984 kB / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.5695, allocations: 285.4 kB / 445.1 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.5697, allocations: 54.62 kB / 445.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.701e-05/0.5697, allocations: 16.98 kB / 445.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.5698, allocations: 4 kB / 445.2 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.5699, allocations: 75.33 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.57, allocations: 0 / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006475/0.5706, allocations: 153.2 kB / 445.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.5707, allocations: 55.41 kB / 445.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.571, allocations: 178.4 kB / 445.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.571, allocations: 25.7 kB / 445.6 MB, free: 7.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.5711, allocations: 166.6 kB / 445.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.5712, allocations: 27.64 kB / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.5712, allocations: 0 / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5714, allocations: 319.5 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.5715, allocations: 28 kB / 446.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.5716, allocations: 56.31 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.5718, allocations: 39.98 kB / 446.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5718, allocations: 4 kB / 446.3 MB, free: 6.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003583/0.5722, allocations: 133.5 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.5722, allocations: 37.69 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5723, allocations: 7.953 kB / 446.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5723, allocations: 0 / 446.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.5724, allocations: 12 kB / 446.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5725, allocations: 7.938 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.5726, allocations: 8.078 kB / 446.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.5726, allocations: 7.938 kB / 446.5 MB, free: 6.168 MB / 378.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 () * 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.0001002/0.5727, allocations: 109 kB / 446.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002389/0.573, allocations: 93.58 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.573, allocations: 19.77 kB / 446.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.5734, allocations: 111.4 kB / 446.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5734, allocations: 0 / 446.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5734, allocations: 4 kB / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5734, allocations: 0 / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.5741, allocations: 379.8 kB / 447.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5741, allocations: 0 / 447.2 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.5742, allocations: 15.98 kB / 447.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5742, allocations: 0 / 447.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5742, allocations: 0 / 447.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.5742, allocations: 4 kB / 447.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5742, allocations: 0 / 447.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.5746, allocations: 222.1 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5747, allocations: 97 kB / 447.5 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.5748, allocations: 7.938 kB / 447.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.5749, allocations: 0 / 447.5 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.575, allocations: 11.92 kB / 447.5 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.575, allocations: 4.188 kB / 447.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.5752, allocations: 140 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5752, allocations: 0 / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.5756, allocations: 39.92 kB / 447.7 MB, free: 4.82 MB / 378.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) * 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.001696/0.5773, allocations: 1.105 MB / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003836/0.5778, allocations: 155.3 kB / 449 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5778, allocations: 4 kB / 449 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.5779, allocations: 28 kB / 449 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5783, allocations: 20.92 kB / 449 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008646/0.5791, allocations: 262 kB / 449.3 MB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.5795, allocations: 0.7158 MB / 450 MB, free: 2.488 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5796, allocations: 35.42 kB / 450 MB, free: 2.453 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5797, allocations: 0 / 450 MB, free: 2.453 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.689/3.269, allocations: 2.487 MB / 452.5 MB, free: 15.96 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat