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.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006659/0.0006661, allocations: 12 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3843, allocations: 54.88 MB / 369.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1758/0.5602, allocations: 82.14 MB / 451.5 MB, free: 8.574 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004155/0.5607, allocations: 79.94 kB / 451.6 MB, free: 8.496 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.03642/0.5972, allocations: 4.881 MB / 456.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5973, allocations: 0 / 456.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.5973, allocations: 0 / 456.5 MB, free: 3.602 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.001115/0.5984, allocations: 0.4941 MB / 457 MB, free: 3.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.5985, allocations: 8.031 kB / 457 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.874e-05/0.5986, allocations: 42.55 kB / 457 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.5987, allocations: 11.81 kB / 457 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.5994, allocations: 222.8 kB / 457.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.5995, allocations: 0 / 457.2 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.5995, allocations: 11.94 kB / 457.3 MB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.5998, allocations: 57.67 kB / 457.3 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5999, allocations: 0 / 457.3 MB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.5999, allocations: 7.891 kB / 457.3 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5999, allocations: 0 / 457.3 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.6001, allocations: 23.98 kB / 457.3 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.6011, allocations: 328.8 kB / 457.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.6014, allocations: 58.62 kB / 457.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.6014, allocations: 0 / 457.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.6017, allocations: 80.17 kB / 457.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.6017, allocations: 0 / 457.8 MB, free: 2.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008922/0.6026, allocations: 193 kB / 458 MB, free: 1.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.6027, allocations: 51.41 kB / 458 MB, free: 1.828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.6031, allocations: 229.7 kB / 458.3 MB, free: 1.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.6032, allocations: 29.7 kB / 458.3 MB, free: 1.555 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6033, allocations: 174.5 kB / 458.5 MB, free: 1.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.677e-05/0.6034, allocations: 35.62 kB / 458.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.6034, allocations: 0 / 458.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6035, allocations: 318.8 kB / 458.8 MB, free: 1.027 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.6037, allocations: 31.98 kB / 458.8 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.6039, allocations: 61.62 kB / 458.9 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.6041, allocations: 73.69 kB / 459 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.6041, allocations: 0 / 459 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005031/0.6047, allocations: 179.2 kB / 459.1 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-05/0.6047, allocations: 37.69 kB / 459.2 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.6048, allocations: 0 / 459.2 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6048, allocations: 0 / 459.2 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.605, allocations: 20 kB / 459.2 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.605, allocations: 3.984 kB / 459.2 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.6051, allocations: 4.375 kB / 459.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.6052, allocations: 4 kB / 459.2 MB, free: 0.5898 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.0002139/0.6054, allocations: 144.9 kB / 459.4 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.6055, allocations: 19.77 kB / 459.4 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.6059, allocations: 127 kB / 459.5 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.606, allocations: 4 kB / 459.5 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.606, allocations: 0 / 459.5 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.606, allocations: 7.922 kB / 459.5 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008909/0.6069, allocations: 435.2 kB / 459.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.607, allocations: 8.031 kB / 459.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.6071, allocations: 11.94 kB / 460 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6071, allocations: 0 / 460 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.6071, allocations: 4 kB / 460 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.6071, allocations: 3.984 kB / 460 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.6071, allocations: 0 / 460 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.6076, allocations: 234 kB / 460.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6078, allocations: 104.9 kB / 460.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.6078, allocations: 96 / 460.3 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.608, allocations: 11.92 kB / 460.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.608, allocations: 8 kB / 460.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.608, allocations: 4 kB / 460.3 MB, free: 15.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.6084, allocations: 192.2 kB / 460.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6084, allocations: 0 / 460.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004476/0.6088, allocations: 47.92 kB / 460.5 MB, free: 15.14 MB / 394.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.002223/0.6111, allocations: 1.176 MB / 461.7 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.6117, allocations: 175.3 kB / 461.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6117, allocations: 0 / 461.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.6119, allocations: 35.92 kB / 461.9 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.6123, allocations: 16.17 kB / 461.9 MB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.6138, allocations: 0.7591 MB / 462.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6143, allocations: 0.7199 MB / 463.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.6144, allocations: 43.36 kB / 463.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6145, allocations: 0 / 463.5 MB, free: 12.15 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/3.314, allocations: 2.813 MB / 466.3 MB, free: 9.34 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat