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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.72e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3452, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.4983, allocations: 81.36 MB / 439.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.4986, allocations: 71.91 kB / 439.6 MB, free: 13.3 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.02029/0.5189, allocations: 4.38 MB / 443.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.519, allocations: 0 / 443.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.519, allocations: 4 kB / 443.9 MB, free: 8.906 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.0006303/0.5196, allocations: 469.4 kB / 444.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5197, allocations: 8.031 kB / 444.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.5198, allocations: 7.906 kB / 444.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.5201, allocations: 203.4 kB / 444.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.5202, allocations: 3.984 kB / 444.6 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.5202, allocations: 4 kB / 444.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.5203, allocations: 27.94 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.5204, allocations: 49.67 kB / 444.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5205, allocations: 3.953 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5205, allocations: 0 / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5205, allocations: 0 / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.5211, allocations: 277.5 kB / 445 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.5212, allocations: 62.62 kB / 445 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.5213, allocations: 16.98 kB / 445.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.5213, allocations: 7.922 kB / 445.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.5215, allocations: 71.34 kB / 445.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.5215, allocations: 0 / 445.1 MB, free: 7.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006247/0.5222, allocations: 153.2 kB / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5222, allocations: 55.41 kB / 445.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.5224, allocations: 158.3 kB / 445.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.5225, allocations: 33.64 kB / 445.5 MB, free: 7.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.179e-05/0.5226, allocations: 154.6 kB / 445.7 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.5226, allocations: 23.66 kB / 445.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.5227, allocations: 4 kB / 445.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5228, allocations: 319.5 kB / 446 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.554e-05/0.5229, allocations: 28 kB / 446 MB, free: 6.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.523, allocations: 58.97 kB / 446.1 MB, free: 6.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.5232, allocations: 35.98 kB / 446.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5232, allocations: 0 / 446.1 MB, free: 6.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003446/0.5235, allocations: 133.5 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.5236, allocations: 33.7 kB / 446.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5236, allocations: 3.953 kB / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5236, allocations: 0 / 446.3 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.5238, allocations: 23.98 kB / 446.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5238, allocations: 0 / 446.3 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.5239, allocations: 8.031 kB / 446.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.524, allocations: 4 kB / 446.3 MB, free: 6.281 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.998e-05/0.5241, allocations: 115 kB / 446.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002251/0.5243, allocations: 97.58 kB / 446.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.5244, allocations: 11.86 kB / 446.6 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.5247, allocations: 114.1 kB / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.5247, allocations: 0 / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5248, allocations: 0 / 446.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5248, allocations: 4 kB / 446.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.5254, allocations: 371.8 kB / 447 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5254, allocations: 0 / 447 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.5255, allocations: 15.98 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.5255, allocations: 4 kB / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5255, allocations: 0 / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5255, allocations: 432 / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5255, allocations: 0 / 447.1 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.5258, allocations: 225.9 kB / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.526, allocations: 96.91 kB / 447.4 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.526, allocations: 4 kB / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5261, allocations: 3.938 kB / 447.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.5262, allocations: 11.98 kB / 447.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.5262, allocations: 4 kB / 447.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.5264, allocations: 123.2 kB / 447.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5264, allocations: 3.938 kB / 447.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.5268, allocations: 39.94 kB / 447.6 MB, free: 4.953 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.001615/0.5284, allocations: 1.088 MB / 448.6 MB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.5288, allocations: 151.3 kB / 448.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5288, allocations: 4 kB / 448.8 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.943e-05/0.5289, allocations: 31.98 kB / 448.8 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.5293, allocations: 20.11 kB / 448.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/0.5301, allocations: 233.6 kB / 449.1 MB, free: 3.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.5304, allocations: 0.7041 MB / 449.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.5305, allocations: 31.42 kB / 449.8 MB, free: 2.645 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5305, allocations: 0 / 449.8 MB, free: 2.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.548/3.079, allocations: 2.365 MB / 452.2 MB, free: 280 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat