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.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006044, allocations: 16 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3551, allocations: 54.86 MB / 369.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.525, allocations: 82.15 MB / 451.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.5254, allocations: 75.91 kB / 451.6 MB, free: 10.3 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.02156/0.547, allocations: 4.759 MB / 456.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.547, allocations: 0 / 456.3 MB, free: 5.531 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.547, allocations: 4 kB / 456.4 MB, free: 5.527 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.0007222/0.5478, allocations: 494 kB / 456.8 MB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5478, allocations: 8.031 kB / 456.8 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.5479, allocations: 34.56 kB / 456.9 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.548, allocations: 19.8 kB / 456.9 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.5484, allocations: 210.9 kB / 457.1 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.5484, allocations: 8 kB / 457.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.5484, allocations: 4 kB / 457.1 MB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.5486, allocations: 57.61 kB / 457.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5487, allocations: 0 / 457.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.5487, allocations: 3.953 kB / 457.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.5487, allocations: 4 kB / 457.2 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.5488, allocations: 23.98 kB / 457.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.5494, allocations: 316.9 kB / 457.5 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.5497, allocations: 66.55 kB / 457.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.5497, allocations: 0 / 457.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.5499, allocations: 76.09 kB / 457.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.5499, allocations: 0 / 457.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008357/0.5508, allocations: 189.1 kB / 457.8 MB, free: 3.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5508, allocations: 51.41 kB / 457.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.5512, allocations: 202.5 kB / 458.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.5512, allocations: 25.7 kB / 458.1 MB, free: 3.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.5513, allocations: 170.5 kB / 458.3 MB, free: 3.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.5514, allocations: 31.66 kB / 458.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.5514, allocations: 0 / 458.3 MB, free: 3.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5515, allocations: 318.8 kB / 458.6 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.5517, allocations: 39.98 kB / 458.7 MB, free: 2.992 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.5519, allocations: 55.66 kB / 458.7 MB, free: 2.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.5521, allocations: 81.62 kB / 458.8 MB, free: 2.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5521, allocations: 0 / 458.8 MB, free: 2.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004783/0.5526, allocations: 171.2 kB / 459 MB, free: 2.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.5527, allocations: 37.69 kB / 459 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5527, allocations: 0 / 459 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5527, allocations: 4.406 kB / 459 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.5529, allocations: 23.92 kB / 459 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5529, allocations: 0 / 459 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5531, allocations: 12 kB / 459 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.5531, allocations: 4 kB / 459 MB, free: 2.582 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.0001684/0.5533, allocations: 133.8 kB / 459.2 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.5533, allocations: 15.77 kB / 459.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.5538, allocations: 123 kB / 459.3 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5538, allocations: 4 kB / 459.3 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5538, allocations: 0 / 459.3 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5538, allocations: 4 kB / 459.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.5546, allocations: 423.2 kB / 459.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5546, allocations: 0 / 459.7 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.5547, allocations: 12 kB / 459.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.5547, allocations: 3.938 kB / 459.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.5547, allocations: 11.92 kB / 459.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5547, allocations: 4.031 kB / 459.8 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5547, allocations: 0 / 459.8 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.5551, allocations: 229.8 kB / 460 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.5553, allocations: 97.28 kB / 460.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.5553, allocations: 0 / 460.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5554, allocations: 15.97 kB / 460.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.5555, allocations: 7.938 kB / 460.1 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.5555, allocations: 8 kB / 460.1 MB, free: 1.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002479/0.5558, allocations: 163.2 kB / 460.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5558, allocations: 0 / 460.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.5562, allocations: 47.92 kB / 460.3 MB, free: 1.184 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) * 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.001919/0.5582, allocations: 1.176 MB / 461.5 MB, free: 64 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004987/0.5587, allocations: 171.4 kB / 461.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.5587, allocations: 0 / 461.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.5589, allocations: 39.98 kB / 461.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5592, allocations: 19.89 kB / 461.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5605, allocations: 0.7061 MB / 462.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.5608, allocations: 0.7139 MB / 463.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.561, allocations: 43.42 kB / 463.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.561, allocations: 0 / 463.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/3.13, allocations: 2.604 MB / 465.8 MB, free: 11.67 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat