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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004459, allocations: 12 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.513, allocations: 82.11 MB / 451.5 MB, free: 8.371 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/0.5135, allocations: 75.97 kB / 451.6 MB, free: 8.297 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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.02408/0.5376, allocations: 4.45 MB / 456 MB, free: 3.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5376, allocations: 0 / 456 MB, free: 3.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.5376, allocations: 4 kB / 456 MB, free: 3.836 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.000644/0.5383, allocations: 466.2 kB / 456.5 MB, free: 3.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5384, allocations: 12.03 kB / 456.5 MB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.857e-05/0.5384, allocations: 34.55 kB / 456.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.5385, allocations: 7.906 kB / 456.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.5388, allocations: 207.4 kB / 456.7 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.5389, allocations: 11.92 kB / 456.7 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.5389, allocations: 4 kB / 456.7 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.5391, allocations: 57.61 kB / 456.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5391, allocations: 0 / 456.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.5392, allocations: 3.953 kB / 456.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5392, allocations: 4 kB / 456.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.5393, allocations: 23.98 kB / 456.8 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.5398, allocations: 308.8 kB / 457.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.5401, allocations: 62.61 kB / 457.2 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.5401, allocations: 4 kB / 457.2 MB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.5403, allocations: 72.17 kB / 457.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.12e-06/0.5403, allocations: 4 kB / 457.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008171/0.5412, allocations: 177.3 kB / 457.4 MB, free: 2.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.5412, allocations: 51.41 kB / 457.5 MB, free: 2.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.5415, allocations: 161 kB / 457.6 MB, free: 1.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.5415, allocations: 29.7 kB / 457.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.546e-05/0.5416, allocations: 166.5 kB / 457.8 MB, free: 1.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.5417, allocations: 27.58 kB / 457.9 MB, free: 1.758 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.5417, allocations: 4 kB / 457.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5418, allocations: 314.8 kB / 458.2 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.542, allocations: 39.98 kB / 458.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.5422, allocations: 61.62 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.5424, allocations: 77.69 kB / 458.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5424, allocations: 0 / 458.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000448/0.5428, allocations: 171.3 kB / 458.5 MB, free: 1.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/0.5429, allocations: 37.69 kB / 458.6 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.5429, allocations: 4.031 kB / 458.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5429, allocations: 0 / 458.6 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.5431, allocations: 15.98 kB / 458.6 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.5431, allocations: 4 kB / 458.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.5432, allocations: 7.906 kB / 458.6 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.5433, allocations: 8.375 kB / 458.6 MB, free: 0.9883 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 () * 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.0001343/0.5434, allocations: 119.1 kB / 458.7 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.5435, allocations: 19.84 kB / 458.7 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.5439, allocations: 126.4 kB / 458.8 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.5439, allocations: 3.938 kB / 458.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5439, allocations: 4 kB / 458.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.5439, allocations: 3.984 kB / 458.9 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006844/0.5446, allocations: 411.2 kB / 459.3 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5446, allocations: 0 / 459.3 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-05/0.5447, allocations: 15.92 kB / 459.3 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.5447, allocations: 4.031 kB / 459.3 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.5448, allocations: 4 kB / 459.3 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5448, allocations: 0 / 459.3 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5448, allocations: 4 kB / 459.3 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/0.5452, allocations: 229.8 kB / 459.5 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.5454, allocations: 93.28 kB / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5454, allocations: 8 kB / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5456, allocations: 0 / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.5456, allocations: 15.92 kB / 459.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.5456, allocations: 4 kB / 459.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.5458, allocations: 123.2 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5459, allocations: 0 / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004143/0.5463, allocations: 39.98 kB / 459.8 MB, free: 15.66 MB / 394.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 (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.002056/0.5483, allocations: 1.177 MB / 461 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005111/0.5489, allocations: 167.3 kB / 461.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5489, allocations: 4.062 kB / 461.1 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.5491, allocations: 39.91 kB / 461.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.5495, allocations: 16.59 kB / 461.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.5506, allocations: 0.6497 MB / 461.8 MB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.551, allocations: 0.7082 MB / 462.5 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.5511, allocations: 23.44 kB / 462.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5512, allocations: 4 kB / 462.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.551/3.102, allocations: 2.36 MB / 464.9 MB, free: 10.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat