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.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.883e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3399, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.4825, allocations: 81.39 MB / 439.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4828, allocations: 75.95 kB / 439.6 MB, free: 13.36 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.02059/0.5034, allocations: 4.474 MB / 444.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5034, allocations: 0 / 444.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.5035, allocations: 0 / 444.1 MB, free: 8.883 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.0006156/0.5041, allocations: 465.4 kB / 444.5 MB, free: 8.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5042, allocations: 8.031 kB / 444.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.5042, allocations: 7.906 kB / 444.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.5046, allocations: 204.5 kB / 444.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.5046, allocations: 4 kB / 444.8 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.5047, allocations: 8 kB / 444.8 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001053/0.5048, allocations: 19.98 kB / 444.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5049, allocations: 49.69 kB / 444.8 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.505, allocations: 3.953 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.505, allocations: 7.984 kB / 444.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.088e-06/0.505, allocations: 0 / 444.8 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.5055, allocations: 277.5 kB / 445.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.5057, allocations: 58.62 kB / 445.2 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.5057, allocations: 16.98 kB / 445.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.5058, allocations: 4 kB / 445.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.5059, allocations: 67.34 kB / 445.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.506, allocations: 0 / 445.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006227/0.5066, allocations: 157.1 kB / 445.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.5066, allocations: 59.41 kB / 445.5 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.5069, allocations: 150.3 kB / 445.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.5069, allocations: 25.7 kB / 445.6 MB, free: 7.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.507, allocations: 170.4 kB / 445.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.507, allocations: 23.64 kB / 445.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.5071, allocations: 0 / 445.8 MB, free: 6.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5072, allocations: 319.5 kB / 446.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.944e-05/0.5073, allocations: 31.98 kB / 446.2 MB, free: 6.574 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.5074, allocations: 49.72 kB / 446.2 MB, free: 6.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.5076, allocations: 43.98 kB / 446.3 MB, free: 6.477 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5076, allocations: 3.938 kB / 446.3 MB, free: 6.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003567/0.5079, allocations: 125.6 kB / 446.4 MB, free: 6.344 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.508, allocations: 41.69 kB / 446.4 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.508, allocations: 3.953 kB / 446.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.5081, allocations: 0 / 446.4 MB, free: 6.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.5082, allocations: 19.92 kB / 446.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5083, allocations: 8.031 kB / 446.5 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.5084, allocations: 4 kB / 446.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5084, allocations: 4 kB / 446.5 MB, free: 6.258 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.679e-05/0.5085, allocations: 105 kB / 446.6 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002389/0.5088, allocations: 93.58 kB / 446.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.5088, allocations: 11.86 kB / 446.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.5091, allocations: 118.1 kB / 446.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.5092, allocations: 0 / 446.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5092, allocations: 4 kB / 446.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5092, allocations: 0 / 446.8 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.5098, allocations: 376 kB / 447.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5098, allocations: 0 / 447.2 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.5099, allocations: 8 kB / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.5099, allocations: 0 / 447.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.51, allocations: 4.188 kB / 447.2 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.51, allocations: 8.016 kB / 447.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.51, allocations: 3.984 kB / 447.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.5103, allocations: 218.2 kB / 447.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.5104, allocations: 101 kB / 447.5 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.5105, allocations: 3.938 kB / 447.5 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.5106, allocations: 11.94 kB / 447.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.5107, allocations: 11.92 kB / 447.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5107, allocations: 8 kB / 447.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001363/0.5108, allocations: 115.3 kB / 447.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5109, allocations: 0 / 447.6 MB, free: 4.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.5113, allocations: 43.92 kB / 447.7 MB, free: 4.93 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.001563/0.5128, allocations: 1.081 MB / 448.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.5132, allocations: 155.3 kB / 448.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5133, allocations: 0 / 448.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.5134, allocations: 39.98 kB / 449 MB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.5138, allocations: 15.98 kB / 449 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007635/0.5146, allocations: 229.6 kB / 449.2 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5149, allocations: 0.7079 MB / 449.9 MB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.515, allocations: 31.42 kB / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.515, allocations: 0 / 449.9 MB, free: 2.625 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.541/3.056, allocations: 2.381 MB / 452.3 MB, free: 244 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat does not exist to compare? outputFormat=mat