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.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004399, allocations: 12 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3442, allocations: 54.87 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.4935, allocations: 82.13 MB / 451.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4939, allocations: 79.95 kB / 451.6 MB, free: 8.262 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.02202/0.5159, allocations: 4.747 MB / 456.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.516, allocations: 3.938 kB / 456.3 MB, free: 3.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.516, allocations: 4 kB / 456.3 MB, free: 3.496 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.0007583/0.5168, allocations: 490.1 kB / 456.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.5168, allocations: 8.031 kB / 456.8 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/0.5169, allocations: 46.41 kB / 456.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.5169, allocations: 15.81 kB / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.5174, allocations: 206.9 kB / 457.1 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5174, allocations: 8 kB / 457.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.5174, allocations: 4 kB / 457.1 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.5177, allocations: 53.67 kB / 457.2 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.5177, allocations: 0 / 457.2 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.5177, allocations: 3.953 kB / 457.2 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.5177, allocations: 4 kB / 457.2 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.5179, allocations: 27.92 kB / 457.2 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.5185, allocations: 316.9 kB / 457.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.5187, allocations: 58.67 kB / 457.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5188, allocations: 0 / 457.6 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.519, allocations: 84.02 kB / 457.6 MB, free: 2.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.519, allocations: 3.938 kB / 457.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008987/0.5199, allocations: 193.1 kB / 457.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.52, allocations: 51.41 kB / 457.9 MB, free: 1.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.5204, allocations: 202.5 kB / 458.1 MB, free: 1.543 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.5204, allocations: 25.7 kB / 458.1 MB, free: 1.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.5205, allocations: 170.5 kB / 458.3 MB, free: 1.344 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.5206, allocations: 23.73 kB / 458.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.5206, allocations: 0 / 458.3 MB, free: 1.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5208, allocations: 318.8 kB / 458.6 MB, free: 1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.5209, allocations: 43.97 kB / 458.6 MB, free: 0.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.5211, allocations: 49.7 kB / 458.7 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.5213, allocations: 77.69 kB / 458.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5213, allocations: 0 / 458.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004858/0.5218, allocations: 179.2 kB / 458.9 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.5219, allocations: 37.69 kB / 459 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5219, allocations: 0 / 459 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.5219, allocations: 7.969 kB / 459 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5221, allocations: 19.98 kB / 459 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.5221, allocations: 3.938 kB / 459 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.5222, allocations: 8 kB / 459 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.5223, allocations: 4 kB / 459 MB, free: 0.5469 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.0001816/0.5225, allocations: 135.1 kB / 459.2 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.5225, allocations: 16.14 kB / 459.2 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.523, allocations: 127 kB / 459.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.523, allocations: 0 / 459.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.523, allocations: 0 / 459.3 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.523, allocations: 8 kB / 459.3 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008369/0.5239, allocations: 427.3 kB / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5239, allocations: 0 / 459.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-05/0.524, allocations: 8 kB / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.524, allocations: 0 / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.524, allocations: 7.984 kB / 459.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.5241, allocations: 4.031 kB / 459.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5241, allocations: 0 / 459.7 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.5245, allocations: 233.9 kB / 460 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.5246, allocations: 97 kB / 460.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.5247, allocations: 0 / 460.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5248, allocations: 11.98 kB / 460.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.5249, allocations: 4 kB / 460.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.5249, allocations: 15.97 kB / 460.1 MB, free: 15.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.5251, allocations: 163.2 kB / 460.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5252, allocations: 0 / 460.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004404/0.5256, allocations: 47.92 kB / 460.3 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.0022/0.5278, allocations: 1.171 MB / 461.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.5284, allocations: 167.3 kB / 461.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5284, allocations: 4 kB / 461.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.5285, allocations: 36.05 kB / 461.7 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.5289, allocations: 15.98 kB / 461.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.5303, allocations: 0.7179 MB / 462.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5308, allocations: 0.7139 MB / 463.1 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.5309, allocations: 47.36 kB / 463.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5309, allocations: 0 / 463.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/3.089, allocations: 2.608 MB / 465.8 MB, free: 9.625 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat