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.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.268/2.268, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006209/0.000621, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3481, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.5126, allocations: 82.11 MB / 451.5 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.513, allocations: 83.83 kB / 451.6 MB, free: 8.414 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.02745/0.5405, allocations: 4.481 MB / 456 MB, free: 3.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5405, allocations: 3.938 kB / 456 MB, free: 3.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.5406, allocations: 0 / 456 MB, free: 3.922 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.0009651/0.5416, allocations: 478.1 kB / 456.5 MB, free: 3.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.5416, allocations: 16.03 kB / 456.5 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.5417, allocations: 30.56 kB / 456.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.5418, allocations: 11.89 kB / 456.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.5423, allocations: 207.5 kB / 456.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5424, allocations: 4 kB / 456.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.5424, allocations: 11.98 kB / 456.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.5427, allocations: 57.61 kB / 456.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5428, allocations: 0 / 456.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.5428, allocations: 7.953 kB / 456.8 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.5428, allocations: 4 kB / 456.9 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.543, allocations: 19.98 kB / 456.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.5437, allocations: 304.9 kB / 457.2 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.5441, allocations: 66.55 kB / 457.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.5442, allocations: 0 / 457.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.5445, allocations: 80.17 kB / 457.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.267e-06/0.5445, allocations: 0 / 457.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001203/0.5457, allocations: 189.1 kB / 457.5 MB, free: 2.273 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.5458, allocations: 51.41 kB / 457.5 MB, free: 2.211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.5462, allocations: 165.3 kB / 457.7 MB, free: 2.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.5463, allocations: 29.64 kB / 457.7 MB, free: 2.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.5464, allocations: 170.5 kB / 457.9 MB, free: 1.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.5465, allocations: 27.64 kB / 457.9 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.5465, allocations: 4 kB / 457.9 MB, free: 1.809 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5467, allocations: 314.8 kB / 458.2 MB, free: 1.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.547, allocations: 39.97 kB / 458.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.5472, allocations: 49.7 kB / 458.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.5475, allocations: 77.62 kB / 458.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5476, allocations: 4 kB / 458.4 MB, free: 1.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007028/0.5483, allocations: 179.3 kB / 458.6 MB, free: 1.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/0.5484, allocations: 33.7 kB / 458.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5484, allocations: 4.016 kB / 458.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5484, allocations: 4 kB / 458.6 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5486, allocations: 19.98 kB / 458.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.5487, allocations: 3.984 kB / 458.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.5489, allocations: 4 kB / 458.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.5489, allocations: 4 kB / 458.7 MB, free: 1.047 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.0002188/0.5492, allocations: 133.9 kB / 458.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/0.5492, allocations: 15.77 kB / 458.8 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006188/0.5499, allocations: 122.3 kB / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5499, allocations: 0 / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5499, allocations: 0 / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5499, allocations: 0 / 458.9 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5511, allocations: 419.6 kB / 459.3 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5511, allocations: 0 / 459.3 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.5512, allocations: 19.92 kB / 459.4 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.667e-06/0.5513, allocations: 3.938 kB / 459.4 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.5513, allocations: 4 kB / 459.4 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5513, allocations: 0 / 459.4 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5513, allocations: 0 / 459.4 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006091/0.552, allocations: 226.1 kB / 459.6 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.5522, allocations: 101 kB / 459.7 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.5523, allocations: 11.92 kB / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.5525, allocations: 0 / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.5526, allocations: 4 kB / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.5526, allocations: 11.98 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.5529, allocations: 135.2 kB / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5529, allocations: 0 / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008015/0.5538, allocations: 47.92 kB / 459.9 MB, free: 15.69 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.00334/0.5571, allocations: 1.169 MB / 461.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007143/0.5579, allocations: 167.3 kB / 461.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5579, allocations: 0 / 461.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.5581, allocations: 35.92 kB / 461.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005245/0.5587, allocations: 23.44 kB / 461.3 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.5603, allocations: 0.6733 MB / 461.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.5608, allocations: 0.7082 MB / 462.7 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.561, allocations: 35.42 kB / 462.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.561, allocations: 0 / 462.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.561/3.122, allocations: 2.409 MB / 465.1 MB, free: 10.42 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat