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.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.299e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3379, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4816, allocations: 81.4 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4819, allocations: 75.95 kB / 439.6 MB, free: 13.27 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.02047/0.5024, allocations: 4.831 MB / 444.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5024, allocations: 3.938 kB / 444.4 MB, free: 8.422 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.5024, allocations: 4 kB / 444.4 MB, free: 8.418 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.0005937/0.503, allocations: 485.4 kB / 444.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5031, allocations: 8.031 kB / 444.9 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.5032, allocations: 15.81 kB / 444.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.5036, allocations: 222.7 kB / 445.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.5036, allocations: 0 / 445.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.5036, allocations: 4 kB / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.4e-05/0.5037, allocations: 19.98 kB / 445.2 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.5039, allocations: 57.67 kB / 445.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5039, allocations: 7.953 kB / 445.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5039, allocations: 0 / 445.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.504, allocations: 4 kB / 445.2 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.5044, allocations: 297.4 kB / 445.5 MB, free: 7.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.5046, allocations: 58.62 kB / 445.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.5047, allocations: 20.98 kB / 445.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.5047, allocations: 0 / 445.6 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.5049, allocations: 67.34 kB / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.5049, allocations: 0 / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000583/0.5055, allocations: 161.1 kB / 445.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.5055, allocations: 51.41 kB / 445.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.5059, allocations: 219 kB / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5059, allocations: 33.7 kB / 446.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.506, allocations: 170.5 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.5061, allocations: 27.64 kB / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.5061, allocations: 7.938 kB / 446.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5062, allocations: 315.5 kB / 446.6 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.5063, allocations: 36 kB / 446.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.5065, allocations: 48.39 kB / 446.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.5066, allocations: 35.98 kB / 446.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5066, allocations: 4 kB / 446.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003303/0.5069, allocations: 129.6 kB / 446.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.507, allocations: 33.7 kB / 446.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.507, allocations: 4.047 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.507, allocations: 3.938 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.5072, allocations: 23.92 kB / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5072, allocations: 0 / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.5073, allocations: 4 kB / 447 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.5074, allocations: 4 kB / 447 MB, free: 5.668 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.519e-05/0.5075, allocations: 119.1 kB / 447.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002253/0.5077, allocations: 101.5 kB / 447.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.5078, allocations: 19.77 kB / 447.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.5081, allocations: 115.4 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5081, allocations: 0 / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5081, allocations: 0 / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5081, allocations: 4 kB / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.5087, allocations: 407.8 kB / 447.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5088, allocations: 0 / 447.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5089, allocations: 8 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5089, allocations: 4 kB / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.5089, allocations: 4.172 kB / 447.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.5089, allocations: 4 kB / 447.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5089, allocations: 3.938 kB / 447.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.5092, allocations: 222.1 kB / 448 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.5094, allocations: 104.9 kB / 448.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.5094, allocations: 4 kB / 448.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5095, allocations: 0 / 448.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.5096, allocations: 11.92 kB / 448.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5096, allocations: 4 kB / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.5099, allocations: 191 kB / 448.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5099, allocations: 0 / 448.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003972/0.5103, allocations: 51.92 kB / 448.3 MB, free: 4.211 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.001537/0.5119, allocations: 1.087 MB / 449.4 MB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.5122, allocations: 159.3 kB / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5122, allocations: 0 / 449.6 MB, free: 2.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.161e-05/0.5123, allocations: 28 kB / 449.6 MB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.5127, allocations: 16.98 kB / 449.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008695/0.5135, allocations: 310 kB / 449.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.5139, allocations: 0.7236 MB / 450.6 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.514, allocations: 39.42 kB / 450.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of SimCode: time 1.001e-06/0.514, allocations: 4 kB / 450.7 MB, free: 1.789 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.474/2.988, allocations: 2.839 MB / 453.5 MB, free: 14.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat