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.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004663, allocations: 12 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3519, allocations: 54.86 MB / 369.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.5015, allocations: 82.15 MB / 451.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5019, allocations: 75.91 kB / 451.6 MB, free: 10.42 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.02062/0.5225, allocations: 4.653 MB / 456.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5226, allocations: 4 kB / 456.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5226, allocations: 0 / 456.2 MB, free: 5.758 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.000688/0.5233, allocations: 486 kB / 456.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5233, allocations: 12.03 kB / 456.7 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.5234, allocations: 38.48 kB / 456.8 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.5235, allocations: 11.91 kB / 456.8 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.5239, allocations: 202.9 kB / 457 MB, free: 4.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.524, allocations: 4 kB / 457 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.524, allocations: 8 kB / 457 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.5243, allocations: 53.67 kB / 457 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5243, allocations: 0 / 457 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.5243, allocations: 7.953 kB / 457.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.5244, allocations: 4 kB / 457.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.5245, allocations: 19.92 kB / 457.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.5252, allocations: 320.8 kB / 457.4 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.5255, allocations: 62.61 kB / 457.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.5256, allocations: 4 kB / 457.5 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.5258, allocations: 76.12 kB / 457.5 MB, free: 4.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.634e-06/0.5259, allocations: 0 / 457.5 MB, free: 4.289 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.5269, allocations: 189.2 kB / 457.7 MB, free: 4.098 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.527, allocations: 51.41 kB / 457.8 MB, free: 4.035 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.5274, allocations: 182.4 kB / 457.9 MB, free: 3.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.5274, allocations: 29.7 kB / 458 MB, free: 3.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.5275, allocations: 166.6 kB / 458.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.5276, allocations: 27.69 kB / 458.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.5276, allocations: 0 / 458.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5278, allocations: 318.8 kB / 458.5 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.528, allocations: 35.97 kB / 458.5 MB, free: 3.258 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.5282, allocations: 57.64 kB / 458.6 MB, free: 3.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.5285, allocations: 77.69 kB / 458.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5285, allocations: 4 kB / 458.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006292/0.5292, allocations: 175.2 kB / 458.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.501e-05/0.5293, allocations: 41.69 kB / 458.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5293, allocations: 0 / 458.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5293, allocations: 96 / 458.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.5295, allocations: 19.92 kB / 458.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.5295, allocations: 7.938 kB / 458.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5297, allocations: 4 kB / 458.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.5297, allocations: 4 kB / 458.9 MB, free: 2.844 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.000195/0.5299, allocations: 133.9 kB / 459 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.53, allocations: 11.86 kB / 459 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005344/0.5306, allocations: 123 kB / 459.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.5306, allocations: 0 / 459.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5306, allocations: 0 / 459.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.5306, allocations: 0 / 459.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009073/0.5315, allocations: 423.2 kB / 459.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.5316, allocations: 0 / 459.6 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5317, allocations: 15.98 kB / 459.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.5317, allocations: 3.938 kB / 459.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5317, allocations: 4 kB / 459.6 MB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.5317, allocations: 4 kB / 459.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5318, allocations: 0 / 459.6 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.5322, allocations: 222.1 kB / 459.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.5324, allocations: 104.9 kB / 459.9 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.5325, allocations: 8 kB / 459.9 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.5326, allocations: 0 / 459.9 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.5327, allocations: 7.984 kB / 459.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.5327, allocations: 4 kB / 459.9 MB, free: 1.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002662/0.533, allocations: 147.9 kB / 460.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.533, allocations: 4 kB / 460.1 MB, free: 1.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006547/0.5337, allocations: 43.94 kB / 460.1 MB, free: 1.48 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.002668/0.5364, allocations: 1.181 MB / 461.3 MB, free: 364 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.537, allocations: 175.3 kB / 461.5 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5371, allocations: 0 / 461.5 MB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5372, allocations: 31.98 kB / 461.5 MB, free: 144 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.5377, allocations: 15.98 kB / 461.5 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.5393, allocations: 0.6709 MB / 462.2 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.5398, allocations: 0.7121 MB / 462.9 MB, free: 14.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.5399, allocations: 35.42 kB / 462.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.173e-06/0.5399, allocations: 0 / 462.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.549/3.089, allocations: 2.487 MB / 465.4 MB, free: 12.14 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat