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.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.493/2.493, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.408e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.51, allocations: 81.35 MB / 439.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5103, allocations: 67.97 kB / 439.6 MB, free: 13.4 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.02034/0.5306, allocations: 4.341 MB / 443.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5307, allocations: 0 / 443.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.5307, allocations: 0 / 443.9 MB, free: 9.055 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.0007798/0.5315, allocations: 461.5 kB / 444.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.5316, allocations: 12.03 kB / 444.4 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.5317, allocations: 11.89 kB / 444.4 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.5321, allocations: 197 kB / 444.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.5322, allocations: 0 / 444.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.5322, allocations: 8 kB / 444.6 MB, free: 8.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001125/0.5323, allocations: 19.98 kB / 444.6 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5325, allocations: 53.58 kB / 444.6 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5325, allocations: 7.891 kB / 444.6 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.5326, allocations: 0 / 444.6 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5326, allocations: 4 kB / 444.7 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.5331, allocations: 281.4 kB / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.5333, allocations: 50.69 kB / 445 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.5334, allocations: 16.98 kB / 445 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.5334, allocations: 11.89 kB / 445 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.5336, allocations: 67.39 kB / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.5337, allocations: 0 / 445.1 MB, free: 7.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006889/0.5344, allocations: 145.3 kB / 445.2 MB, free: 7.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.5344, allocations: 51.41 kB / 445.3 MB, free: 7.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.5347, allocations: 148.8 kB / 445.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.5347, allocations: 33.64 kB / 445.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.5348, allocations: 158.6 kB / 445.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.5349, allocations: 27.64 kB / 445.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.5349, allocations: 4 kB / 445.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5351, allocations: 315.5 kB / 445.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.931e-05/0.5352, allocations: 28 kB / 446 MB, free: 6.781 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.5353, allocations: 54.97 kB / 446 MB, free: 6.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.5355, allocations: 43.92 kB / 446.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5355, allocations: 0 / 446.1 MB, free: 6.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003889/0.5359, allocations: 129.6 kB / 446.2 MB, free: 6.547 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.536, allocations: 41.69 kB / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.536, allocations: 0 / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.5361, allocations: 0 / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.5363, allocations: 16 kB / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5363, allocations: 0 / 446.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5364, allocations: 7.984 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.5365, allocations: 4 kB / 446.3 MB, free: 6.473 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 0.0001386/0.5366, allocations: 112.9 kB / 446.4 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002666/0.5369, allocations: 109.5 kB / 446.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.5369, allocations: 11.91 kB / 446.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.5373, allocations: 106.4 kB / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5373, allocations: 0 / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5373, allocations: 192 / 446.6 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5373, allocations: 7.984 kB / 446.6 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.538, allocations: 367.8 kB / 447 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.538, allocations: 0 / 447 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.5381, allocations: 16.02 kB / 447 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.5382, allocations: 4 kB / 447 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.5382, allocations: 4 kB / 447 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5382, allocations: 0 / 447 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.5382, allocations: 4 kB / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.5386, allocations: 213.8 kB / 447.2 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.5387, allocations: 97 kB / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.5388, allocations: 4 kB / 447.3 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5389, allocations: 3.938 kB / 447.3 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.539, allocations: 11.98 kB / 447.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.539, allocations: 4.281 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001468/0.5392, allocations: 111.8 kB / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5392, allocations: 0 / 447.4 MB, free: 5.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.5396, allocations: 43.86 kB / 447.5 MB, free: 5.152 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.001867/0.5415, allocations: 1.092 MB / 448.6 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004017/0.5419, allocations: 155.3 kB / 448.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.542, allocations: 4 kB / 448.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.654e-05/0.5421, allocations: 24 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.5425, allocations: 20.8 kB / 448.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/0.5432, allocations: 221.7 kB / 449 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.5436, allocations: 0.7081 MB / 449.7 MB, free: 2.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.5437, allocations: 27.42 kB / 449.7 MB, free: 2.848 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5437, allocations: 0 / 449.7 MB, free: 2.848 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.575/3.119, allocations: 2.307 MB / 452 MB, free: 0.5352 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat