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.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4369/0.4374, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.598, allocations: 82.26 MB / 451.6 MB, free: 8.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5983, allocations: 79.78 kB / 451.7 MB, free: 8.152 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03227/0.6306, allocations: 7.108 MB / 458.8 MB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6307, allocations: 3.938 kB / 458.8 MB, free: 1.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.24e-05/0.6307, allocations: 8 kB / 458.8 MB, free: 1.02 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001149/0.6319, allocations: 0.6762 MB / 459.5 MB, free: 276 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.6319, allocations: 12.03 kB / 459.5 MB, free: 264 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/0.632, allocations: 34.56 kB / 459.5 MB, free: 220 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.6322, allocations: 35.61 kB / 459.6 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.6329, allocations: 287.1 kB / 459.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.633, allocations: 8 kB / 459.9 MB, free: 15.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.6331, allocations: 23.8 kB / 459.9 MB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.6334, allocations: 99.34 kB / 460 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6334, allocations: 0 / 460 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.6335, allocations: 4 kB / 460 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.6335, allocations: 0 / 460 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.6337, allocations: 39.97 kB / 460 MB, free: 15.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.6347, allocations: 0.5241 MB / 460.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.6352, allocations: 125.4 kB / 460.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.6352, allocations: 0 / 460.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.6356, allocations: 121.1 kB / 460.8 MB, free: 14.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.6356, allocations: 3.938 kB / 460.8 MB, free: 14.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001514/0.6371, allocations: 395.8 kB / 461.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.6372, allocations: 81.11 kB / 461.3 MB, free: 14.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.6381, allocations: 427.5 kB / 461.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/0.6382, allocations: 33.7 kB / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.6384, allocations: 202.9 kB / 461.9 MB, free: 13.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/0.6385, allocations: 55.28 kB / 462 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.6385, allocations: 4 kB / 462 MB, free: 13.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6387, allocations: 330.8 kB / 462.3 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.6389, allocations: 72.16 kB / 462.4 MB, free: 13.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.6393, allocations: 107.8 kB / 462.5 MB, free: 13.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.6396, allocations: 147.4 kB / 462.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6397, allocations: 0 / 462.6 MB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008677/0.6405, allocations: 328.9 kB / 462.9 MB, free: 12.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.642e-05/0.6406, allocations: 67.39 kB / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6406, allocations: 0 / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.6407, allocations: 4 kB / 463 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.6409, allocations: 31.98 kB / 463 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.641, allocations: 3.938 kB / 463 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6412, allocations: 12 kB / 463 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.6413, allocations: 15.98 kB / 463.1 MB, free: 12.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002849/0.6415, allocations: 169.8 kB / 463.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.6416, allocations: 35.81 kB / 463.3 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.6424, allocations: 228.2 kB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.6424, allocations: 7.984 kB / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.6425, allocations: 0 / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.6425, allocations: 0 / 463.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.6439, allocations: 0.7063 MB / 464.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6439, allocations: 0.75 kB / 464.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.6441, allocations: 31.86 kB / 464.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-06/0.6441, allocations: 0 / 464.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.6441, allocations: 8 kB / 464.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.6441, allocations: 0 / 464.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6442, allocations: 8 kB / 464.2 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.6449, allocations: 423.2 kB / 464.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/0.6452, allocations: 136.7 kB / 464.8 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.6453, allocations: 8 kB / 464.8 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.6455, allocations: 15.98 kB / 464.8 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-05/0.6456, allocations: 15.92 kB / 464.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.6456, allocations: 8 kB / 464.8 MB, free: 10.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006499/0.6463, allocations: 343 kB / 465.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6463, allocations: 0 / 465.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006637/0.647, allocations: 95.86 kB / 465.3 MB, free: 10.08 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003222/0.6502, allocations: 1.75 MB / 467 MB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008247/0.6511, allocations: 338.8 kB / 467.4 MB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.6511, allocations: 4.188 kB / 467.4 MB, free: 8.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.6514, allocations: 68.11 kB / 467.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.6519, allocations: 45.91 kB / 467.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.6542, allocations: 1.453 MB / 468.9 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.6547, allocations: 0.7712 MB / 469.7 MB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.655, allocations: 99.39 kB / 469.8 MB, free: 5.469 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.655, allocations: 0 / 469.8 MB, free: 5.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.715/3.37, allocations: 5.259 MB / 475 MB, free: 220 kB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat