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.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.000424, allocations: 16 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3504, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4965, allocations: 82.14 MB / 451.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.4968, allocations: 79.95 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.02027/0.5171, allocations: 4.626 MB / 456.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5171, allocations: 0 / 456.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.5172, allocations: 4 kB / 456.2 MB, free: 3.641 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.0006875/0.5179, allocations: 482 kB / 456.7 MB, free: 3.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5179, allocations: 8.031 kB / 456.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.518, allocations: 34.56 kB / 456.7 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.518, allocations: 11.91 kB / 456.7 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/0.5184, allocations: 206.9 kB / 456.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.5185, allocations: 0 / 456.9 MB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.5185, allocations: 12 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.5187, allocations: 61.59 kB / 457 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5188, allocations: 0 / 457 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.5188, allocations: 3.953 kB / 457 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5188, allocations: 3.938 kB / 457 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.5189, allocations: 23.97 kB / 457.1 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.5194, allocations: 316.8 kB / 457.4 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.5197, allocations: 66.61 kB / 457.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.5197, allocations: 0 / 457.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.52, allocations: 72.17 kB / 457.5 MB, free: 2.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.52, allocations: 4 kB / 457.5 MB, free: 2.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007895/0.5208, allocations: 181.2 kB / 457.7 MB, free: 1.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.5208, allocations: 55.41 kB / 457.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.5211, allocations: 182.4 kB / 457.9 MB, free: 1.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.5212, allocations: 29.7 kB / 457.9 MB, free: 1.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.5213, allocations: 158.6 kB / 458.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.5214, allocations: 23.7 kB / 458.1 MB, free: 1.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.5214, allocations: 4 kB / 458.1 MB, free: 1.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5215, allocations: 318.8 kB / 458.4 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5217, allocations: 39.98 kB / 458.5 MB, free: 1.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.5219, allocations: 65.56 kB / 458.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.5221, allocations: 73.7 kB / 458.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5221, allocations: 0 / 458.6 MB, free: 1.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004506/0.5225, allocations: 187.1 kB / 458.8 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.5226, allocations: 37.69 kB / 458.8 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.5226, allocations: 4 kB / 458.8 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5226, allocations: 4.031 kB / 458.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.5228, allocations: 12 kB / 458.8 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5228, allocations: 384 / 458.8 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.5229, allocations: 11.98 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.523, allocations: 4 kB / 458.9 MB, free: 0.7305 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.000145/0.5231, allocations: 125.8 kB / 459 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.5232, allocations: 19.84 kB / 459 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.5236, allocations: 123 kB / 459.1 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5236, allocations: 4 kB / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5236, allocations: 0 / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5236, allocations: 0 / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.5243, allocations: 419.2 kB / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5244, allocations: 0 / 459.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.5244, allocations: 12.12 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5245, allocations: 4 kB / 459.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5245, allocations: 11.95 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5245, allocations: 4 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5245, allocations: 0 / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.5249, allocations: 222.1 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.525, allocations: 100.9 kB / 459.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.5251, allocations: 4 kB / 459.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.5252, allocations: 11.98 kB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.5253, allocations: 4 kB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.5253, allocations: 4 kB / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.5255, allocations: 143.9 kB / 460 MB, free: 15.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5255, allocations: 0 / 460 MB, free: 15.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003932/0.5259, allocations: 47.92 kB / 460.1 MB, free: 15.37 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.001909/0.5278, allocations: 1.175 MB / 461.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.5283, allocations: 167.3 kB / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.5283, allocations: 0 / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.5284, allocations: 39.98 kB / 461.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.5288, allocations: 28.02 kB / 461.5 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.5299, allocations: 0.6746 MB / 462.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.5303, allocations: 0.7082 MB / 462.9 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5304, allocations: 35.42 kB / 462.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5304, allocations: 4 kB / 462.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.582/3.112, allocations: 2.468 MB / 465.4 MB, free: 10.02 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat