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.Test3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.483/2.483, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.755e-05, allocations: 12 kB / 303.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3552, allocations: 54.87 MB / 358.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.507, allocations: 81.35 MB / 439.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5074, allocations: 71.97 kB / 439.6 MB, free: 14.09 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.0194/0.5268, allocations: 4.325 MB / 443.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5268, allocations: 0 / 443.9 MB, free: 9.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.5269, allocations: 3.938 kB / 443.9 MB, free: 9.754 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.000589/0.5275, allocations: 458.4 kB / 444.3 MB, free: 9.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.5275, allocations: 12.03 kB / 444.3 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.5276, allocations: 7.906 kB / 444.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.5279, allocations: 203 kB / 444.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.528, allocations: 0 / 444.6 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.528, allocations: 7.984 kB / 444.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001005/0.5281, allocations: 20 kB / 444.6 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.5283, allocations: 57.56 kB / 444.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5283, allocations: 3.906 kB / 444.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.5283, allocations: 0 / 444.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.5283, allocations: 0 / 444.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000439/0.5288, allocations: 285.4 kB / 444.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.5289, allocations: 50.69 kB / 445 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/0.529, allocations: 20.92 kB / 445 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.529, allocations: 7.953 kB / 445 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.5292, allocations: 67.33 kB / 445.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.285e-06/0.5292, allocations: 4 kB / 445.1 MB, free: 8.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005775/0.5298, allocations: 141.4 kB / 445.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.5299, allocations: 59.33 kB / 445.3 MB, free: 8.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.5301, allocations: 151 kB / 445.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.5301, allocations: 29.7 kB / 445.4 MB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.512e-05/0.5302, allocations: 154.6 kB / 445.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.5302, allocations: 27.64 kB / 445.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.5303, allocations: 4 kB / 445.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5304, allocations: 319.5 kB / 445.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.5305, allocations: 31.98 kB / 446 MB, free: 7.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.5306, allocations: 47.12 kB / 446 MB, free: 7.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.5308, allocations: 35.98 kB / 446 MB, free: 7.383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5308, allocations: 0 / 446 MB, free: 7.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003294/0.5311, allocations: 129.6 kB / 446.2 MB, free: 7.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.5312, allocations: 41.69 kB / 446.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5312, allocations: 0 / 446.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5312, allocations: 4.031 kB / 446.2 MB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.5314, allocations: 19.98 kB / 446.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5314, allocations: 0 / 446.2 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.5315, allocations: 4 kB / 446.2 MB, free: 7.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.5315, allocations: 4 kB / 446.2 MB, free: 7.172 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 () * 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 9.405e-05/0.5316, allocations: 112 kB / 446.4 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002208/0.5319, allocations: 101.4 kB / 446.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.5319, allocations: 7.906 kB / 446.5 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5322, allocations: 118.2 kB / 446.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5322, allocations: 0 / 446.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5322, allocations: 0 / 446.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.5323, allocations: 0 / 446.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.5328, allocations: 368 kB / 446.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5328, allocations: 192 / 446.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/0.5329, allocations: 15.98 kB / 447 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.5329, allocations: 4 kB / 447 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.533, allocations: 4.219 kB / 447 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.533, allocations: 0 / 447 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.533, allocations: 7.938 kB / 447 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.5333, allocations: 217.8 kB / 447.2 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.5334, allocations: 96.98 kB / 447.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.5334, allocations: 7.938 kB / 447.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5335, allocations: 7.984 kB / 447.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.5336, allocations: 4 kB / 447.3 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5336, allocations: 4 kB / 447.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.5338, allocations: 117.9 kB / 447.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5338, allocations: 0 / 447.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.5342, allocations: 39.94 kB / 447.5 MB, free: 5.859 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) * 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.001613/0.5358, allocations: 1.085 MB / 448.5 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003388/0.5362, allocations: 151.4 kB / 448.7 MB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5362, allocations: 8.062 kB / 448.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.5363, allocations: 31.92 kB / 448.7 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.5366, allocations: 20.8 kB / 448.7 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.5373, allocations: 217.8 kB / 449 MB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5378, allocations: 0.7119 MB / 449.7 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.55e-05/0.5379, allocations: 27.42 kB / 449.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5379, allocations: 0 / 449.7 MB, free: 3.543 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.537/3.075, allocations: 2.306 MB / 452 MB, free: 1.23 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat