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.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004462, allocations: 16 kB / 314.5 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3522, allocations: 54.85 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4984, allocations: 82.15 MB / 451.5 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.4987, allocations: 79.89 kB / 451.6 MB, free: 10.43 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.02003/0.5188, allocations: 4.657 MB / 456.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5188, allocations: 0 / 456.2 MB, free: 5.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5188, allocations: 0 / 456.2 MB, free: 5.762 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.0006676/0.5195, allocations: 486 kB / 456.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5196, allocations: 12.03 kB / 456.7 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.5196, allocations: 30.56 kB / 456.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.5197, allocations: 15.91 kB / 456.8 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.52, allocations: 202.9 kB / 457 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.5201, allocations: 4 kB / 457 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.5201, allocations: 8 kB / 457 MB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.5203, allocations: 53.67 kB / 457 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.5203, allocations: 3.984 kB / 457 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5204, allocations: 3.953 kB / 457 MB, free: 4.844 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.5204, allocations: 8 kB / 457.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.5205, allocations: 19.98 kB / 457.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.521, allocations: 320.7 kB / 457.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5213, allocations: 62.61 kB / 457.4 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.5213, allocations: 0 / 457.4 MB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.5215, allocations: 80.12 kB / 457.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.5215, allocations: 0 / 457.5 MB, free: 4.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007775/0.5223, allocations: 181.2 kB / 457.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.5224, allocations: 55.34 kB / 457.8 MB, free: 4.043 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.5226, allocations: 186.4 kB / 457.9 MB, free: 3.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5227, allocations: 25.7 kB / 458 MB, free: 3.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.5228, allocations: 162.6 kB / 458.1 MB, free: 3.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.5228, allocations: 27.7 kB / 458.2 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.5228, allocations: 0 / 458.2 MB, free: 3.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.523, allocations: 318.8 kB / 458.5 MB, free: 3.305 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.5231, allocations: 39.91 kB / 458.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.5233, allocations: 57.64 kB / 458.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5235, allocations: 77.69 kB / 458.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5235, allocations: 0 / 458.6 MB, free: 3.121 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004511/0.524, allocations: 183.2 kB / 458.8 MB, free: 2.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.524, allocations: 37.7 kB / 458.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5241, allocations: 384 / 458.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5241, allocations: 0 / 458.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.5242, allocations: 19.98 kB / 458.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5242, allocations: 4 kB / 458.9 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.669e-05/0.5244, allocations: 4 kB / 458.9 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.5244, allocations: 4 kB / 458.9 MB, free: 2.855 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.0001404/0.5245, allocations: 141.5 kB / 459 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.5246, allocations: 11.86 kB / 459 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.525, allocations: 123 kB / 459.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.525, allocations: 0 / 459.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.525, allocations: 0 / 459.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.525, allocations: 0 / 459.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000667/0.5257, allocations: 423.2 kB / 459.6 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5257, allocations: 4.031 kB / 459.6 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.5258, allocations: 12 kB / 459.6 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5258, allocations: 3.938 kB / 459.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5258, allocations: 4 kB / 459.6 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5259, allocations: 4 kB / 459.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5259, allocations: 0 / 459.6 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.5262, allocations: 226 kB / 459.8 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.5263, allocations: 100.9 kB / 459.9 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.5264, allocations: 8 kB / 459.9 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5265, allocations: 0 / 459.9 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.5266, allocations: 8.266 kB / 459.9 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.5266, allocations: 4 kB / 459.9 MB, free: 1.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.5268, allocations: 143.9 kB / 460.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5268, allocations: 3.938 kB / 460.1 MB, free: 1.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.5272, allocations: 43.94 kB / 460.1 MB, free: 1.492 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.001876/0.5291, allocations: 1.183 MB / 461.3 MB, free: 372 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.5296, allocations: 175.3 kB / 461.5 MB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5296, allocations: 0 / 461.5 MB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.5298, allocations: 31.98 kB / 461.5 MB, free: 152 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.5301, allocations: 15.98 kB / 461.5 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.5313, allocations: 0.6669 MB / 462.2 MB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.5316, allocations: 0.716 MB / 462.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5317, allocations: 35.42 kB / 462.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5318, allocations: 0 / 462.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.575/3.107, allocations: 2.488 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.Test45_res.mat does not exist to compare? outputFormat=mat