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.Test41.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.Test41,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.373, allocations: 54.86 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.5216, allocations: 82.15 MB / 451.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.522, allocations: 79.89 kB / 451.6 MB, free: 8.277 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.01984/0.5419, allocations: 4.7 MB / 456.3 MB, free: 3.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5419, allocations: 0 / 456.3 MB, free: 3.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5419, allocations: 4 kB / 456.3 MB, free: 3.566 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.0006426/0.5426, allocations: 498 kB / 456.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.5426, allocations: 8.031 kB / 456.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.805e-05/0.5427, allocations: 34.56 kB / 456.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.5427, allocations: 15.89 kB / 456.8 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.5431, allocations: 211.5 kB / 457 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5431, allocations: 0 / 457 MB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.5432, allocations: 12 kB / 457.1 MB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.5434, allocations: 53.67 kB / 457.1 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5434, allocations: 7.906 kB / 457.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.5434, allocations: 3.953 kB / 457.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5434, allocations: 3.938 kB / 457.1 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.5436, allocations: 23.92 kB / 457.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.5441, allocations: 324.8 kB / 457.5 MB, free: 2.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.5443, allocations: 58.67 kB / 457.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.5444, allocations: 7.938 kB / 457.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.5446, allocations: 72.19 kB / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.5446, allocations: 0 / 457.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000756/0.5453, allocations: 181.2 kB / 457.8 MB, free: 1.887 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.5454, allocations: 55.39 kB / 457.8 MB, free: 1.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.5457, allocations: 193.4 kB / 458 MB, free: 1.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5457, allocations: 33.7 kB / 458.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.5458, allocations: 162.6 kB / 458.2 MB, free: 1.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.5459, allocations: 31.62 kB / 458.2 MB, free: 1.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.5459, allocations: 4 kB / 458.2 MB, free: 1.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.546, allocations: 310.8 kB / 458.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.5462, allocations: 39.98 kB / 458.6 MB, free: 1.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.5464, allocations: 53.69 kB / 458.6 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.5466, allocations: 77.69 kB / 458.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.5466, allocations: 0 / 458.7 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004421/0.547, allocations: 179.3 kB / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.5471, allocations: 37.69 kB / 458.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5471, allocations: 0 / 458.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5471, allocations: 0 / 458.9 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.5473, allocations: 15.94 kB / 458.9 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.5473, allocations: 7.984 kB / 459 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.089e-05/0.5474, allocations: 4 kB / 459 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.5474, allocations: 12.03 kB / 459 MB, free: 0.625 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.0001342/0.5476, allocations: 125.8 kB / 459.1 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.5476, allocations: 19.77 kB / 459.1 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.548, allocations: 127.1 kB / 459.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.548, allocations: 0 / 459.2 MB, free: 340 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.548, allocations: 4 kB / 459.2 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5481, allocations: 0 / 459.2 MB, free: 336 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.5488, allocations: 419.2 kB / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5488, allocations: 0 / 459.6 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.5489, allocations: 11.98 kB / 459.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5489, allocations: 4 kB / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5489, allocations: 192 / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5489, allocations: 0 / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5489, allocations: 7.938 kB / 459.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.5493, allocations: 238.2 kB / 459.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.5495, allocations: 100.9 kB / 460 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.5495, allocations: 4 kB / 460 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5496, allocations: 4 kB / 460 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.5497, allocations: 15.92 kB / 460 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.5497, allocations: 4 kB / 460 MB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001973/0.5499, allocations: 147.2 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5499, allocations: 4 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.5503, allocations: 43.92 kB / 460.2 MB, free: 15.24 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.001902/0.5522, allocations: 1.174 MB / 461.4 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004236/0.5527, allocations: 171.3 kB / 461.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5527, allocations: 0 / 461.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.5528, allocations: 35.92 kB / 461.6 MB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.5532, allocations: 32.17 kB / 461.6 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5542, allocations: 0.6866 MB / 462.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.5546, allocations: 0.7082 MB / 463 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.5547, allocations: 35.42 kB / 463.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5547, allocations: 7.875 kB / 463.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.482/3.037, allocations: 2.546 MB / 465.6 MB, free: 9.801 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat does not exist to compare? outputFormat=mat