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.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004372, allocations: 16 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3525, allocations: 54.86 MB / 369.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.4974, allocations: 82.14 MB / 451.5 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4978, allocations: 79.84 kB / 451.6 MB, free: 10.46 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.0211/0.5189, allocations: 4.794 MB / 456.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5189, allocations: 0 / 456.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5189, allocations: 0 / 456.4 MB, free: 5.66 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.000675/0.5196, allocations: 0.4902 MB / 456.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.5197, allocations: 12.03 kB / 456.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.5197, allocations: 34.56 kB / 456.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.03e-05/0.5198, allocations: 11.81 kB / 456.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.5202, allocations: 210.9 kB / 457.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5202, allocations: 0 / 457.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.5203, allocations: 4 kB / 457.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.5204, allocations: 57.67 kB / 457.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5205, allocations: 0 / 457.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.5205, allocations: 3.953 kB / 457.2 MB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5205, allocations: 7.922 kB / 457.2 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.5206, allocations: 35.91 kB / 457.2 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.5211, allocations: 308.9 kB / 457.5 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.5214, allocations: 58.67 kB / 457.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5214, allocations: 0 / 457.6 MB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.5217, allocations: 84.03 kB / 457.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.5217, allocations: 0 / 457.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008065/0.5225, allocations: 193.1 kB / 457.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.5225, allocations: 51.41 kB / 457.9 MB, free: 3.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.5229, allocations: 198.5 kB / 458.1 MB, free: 3.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5229, allocations: 33.64 kB / 458.1 MB, free: 3.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.523, allocations: 166.5 kB / 458.3 MB, free: 3.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.5231, allocations: 27.73 kB / 458.3 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.959e-06/0.5231, allocations: 4 kB / 458.3 MB, free: 3.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5232, allocations: 318.8 kB / 458.6 MB, free: 3.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.5234, allocations: 35.98 kB / 458.7 MB, free: 3.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.5235, allocations: 53.7 kB / 458.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.5237, allocations: 73.69 kB / 458.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5237, allocations: 0 / 458.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000456/0.5242, allocations: 183.2 kB / 459 MB, free: 2.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.5243, allocations: 29.7 kB / 459 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5243, allocations: 4 kB / 459 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5243, allocations: 0 / 459 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.5245, allocations: 19.92 kB / 459 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5245, allocations: 4.375 kB / 459 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.5246, allocations: 8 kB / 459 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5246, allocations: 4 kB / 459.1 MB, free: 2.719 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.0001587/0.5248, allocations: 135.6 kB / 459.2 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.5249, allocations: 23.77 kB / 459.2 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.5253, allocations: 123 kB / 459.3 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5253, allocations: 4 kB / 459.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5253, allocations: 0 / 459.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5253, allocations: 0 / 459.3 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007284/0.526, allocations: 427.2 kB / 459.7 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.5261, allocations: 4.031 kB / 459.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.5262, allocations: 11.98 kB / 459.8 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5262, allocations: 4 kB / 459.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5262, allocations: 0 / 459.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.5262, allocations: 0 / 459.8 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5262, allocations: 4.156 kB / 459.8 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.5266, allocations: 234 kB / 460 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.5267, allocations: 101.1 kB / 460.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.5268, allocations: 7.938 kB / 460.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5269, allocations: 4 kB / 460.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.527, allocations: 11.92 kB / 460.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.527, allocations: 4 kB / 460.1 MB, free: 1.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.5272, allocations: 163.2 kB / 460.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5272, allocations: 0 / 460.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.5276, allocations: 43.92 kB / 460.3 MB, free: 1.32 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.001868/0.5295, allocations: 1.183 MB / 461.5 MB, free: 196 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.53, allocations: 167.3 kB / 461.7 MB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.53, allocations: 0 / 461.7 MB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.5302, allocations: 32.03 kB / 461.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.5305, allocations: 19.84 kB / 461.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5318, allocations: 0.7139 MB / 462.4 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5321, allocations: 0.7179 MB / 463.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5322, allocations: 39.42 kB / 463.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5323, allocations: 3.938 kB / 463.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/3.098, allocations: 2.613 MB / 465.8 MB, free: 11.79 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat