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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006553/0.0006555, allocations: 12 kB / 314.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3938, allocations: 54.86 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5444, allocations: 82.14 MB / 451.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5447, allocations: 71.91 kB / 451.6 MB, free: 10.33 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.02049/0.5652, allocations: 4.7 MB / 456.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.5653, allocations: 7.984 kB / 456.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.5653, allocations: 4 kB / 456.3 MB, free: 5.613 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.00067/0.566, allocations: 490 kB / 456.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.566, allocations: 8.031 kB / 456.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.5661, allocations: 42.55 kB / 456.8 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.5662, allocations: 11.91 kB / 456.8 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.5665, allocations: 211.6 kB / 457 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5666, allocations: 4 kB / 457 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.5666, allocations: 4 kB / 457 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.5668, allocations: 57.67 kB / 457.1 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.5668, allocations: 7.891 kB / 457.1 MB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.5669, allocations: 7.891 kB / 457.1 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5669, allocations: 3.938 kB / 457.1 MB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.567, allocations: 19.98 kB / 457.1 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.5678, allocations: 316.8 kB / 457.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.5681, allocations: 66.61 kB / 457.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5681, allocations: 0 / 457.5 MB, free: 4.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.5684, allocations: 72.19 kB / 457.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.5684, allocations: 0 / 457.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008439/0.5692, allocations: 189.2 kB / 457.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5693, allocations: 55.41 kB / 457.8 MB, free: 3.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.5696, allocations: 189.4 kB / 458 MB, free: 3.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.5697, allocations: 29.7 kB / 458 MB, free: 3.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/0.5698, allocations: 166.5 kB / 458.2 MB, free: 3.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.5698, allocations: 23.66 kB / 458.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.5699, allocations: 4 kB / 458.2 MB, free: 3.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.57, allocations: 322.8 kB / 458.5 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.5702, allocations: 39.98 kB / 458.6 MB, free: 3.086 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.5703, allocations: 59.66 kB / 458.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.5705, allocations: 69.7 kB / 458.7 MB, free: 2.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5705, allocations: 0 / 458.7 MB, free: 2.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004596/0.571, allocations: 183.2 kB / 458.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.5711, allocations: 29.7 kB / 458.9 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5711, allocations: 4 kB / 458.9 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5711, allocations: 3.984 kB / 458.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.5713, allocations: 19.97 kB / 458.9 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.5713, allocations: 4 kB / 458.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.93e-05/0.5714, allocations: 8 kB / 459 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.5714, allocations: 7.984 kB / 459 MB, free: 2.676 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.000149/0.5716, allocations: 126.5 kB / 459.1 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.5716, allocations: 15.77 kB / 459.1 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.572, allocations: 127 kB / 459.2 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5721, allocations: 4 kB / 459.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5721, allocations: 384 / 459.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5721, allocations: 4 kB / 459.2 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007314/0.5728, allocations: 419.2 kB / 459.6 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5729, allocations: 4 kB / 459.6 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.5729, allocations: 8 kB / 459.7 MB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.573, allocations: 7.984 kB / 459.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.573, allocations: 0 / 459.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.573, allocations: 4.031 kB / 459.7 MB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.573, allocations: 8.094 kB / 459.7 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.5734, allocations: 225.9 kB / 459.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5735, allocations: 100.9 kB / 460 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.5736, allocations: 11.92 kB / 460 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.5737, allocations: 8.281 kB / 460 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.5737, allocations: 4 kB / 460 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.5738, allocations: 7.984 kB / 460 MB, free: 1.484 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.574, allocations: 151.2 kB / 460.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.574, allocations: 0 / 460.2 MB, free: 1.336 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004088/0.5744, allocations: 39.94 kB / 460.2 MB, free: 1.297 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.001872/0.5763, allocations: 1.183 MB / 461.4 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.5768, allocations: 167.3 kB / 461.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5768, allocations: 0 / 461.6 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5769, allocations: 39.94 kB / 461.6 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.5773, allocations: 23.98 kB / 461.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5784, allocations: 0.6827 MB / 462.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.5787, allocations: 0.7199 MB / 463 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.5789, allocations: 35.42 kB / 463.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5789, allocations: 7.938 kB / 463.1 MB, free: 14.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.588/3.167, allocations: 2.542 MB / 465.6 MB, free: 11.86 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat