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.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004501, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5091, allocations: 82.15 MB / 451.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.5095, allocations: 75.84 kB / 451.6 MB, free: 8.273 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.02757/0.5371, allocations: 4.908 MB / 456.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5371, allocations: 0 / 456.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.5372, allocations: 4 kB / 456.5 MB, free: 3.348 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.0009168/0.5381, allocations: 0.4902 MB / 457 MB, free: 2.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.5382, allocations: 8.031 kB / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.5383, allocations: 34.56 kB / 457 MB, free: 2.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.5383, allocations: 19.8 kB / 457 MB, free: 2.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.5389, allocations: 222.7 kB / 457.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.5389, allocations: 8 kB / 457.3 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.539, allocations: 4 kB / 457.3 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.5393, allocations: 53.67 kB / 457.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.5393, allocations: 0 / 457.3 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.5393, allocations: 7.953 kB / 457.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5393, allocations: 7.938 kB / 457.3 MB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.5395, allocations: 19.98 kB / 457.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007697/0.5403, allocations: 332.8 kB / 457.7 MB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.5407, allocations: 62.61 kB / 457.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.5407, allocations: 0 / 457.8 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.541, allocations: 80.11 kB / 457.8 MB, free: 1.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.624e-06/0.541, allocations: 4 kB / 457.8 MB, free: 1.824 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.5421, allocations: 185.1 kB / 458 MB, free: 1.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5421, allocations: 55.34 kB / 458.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.5425, allocations: 233.7 kB / 458.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.5426, allocations: 29.7 kB / 458.3 MB, free: 1.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.5427, allocations: 170.5 kB / 458.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.5428, allocations: 23.66 kB / 458.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.5428, allocations: 4 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.543, allocations: 322.8 kB / 458.8 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.5431, allocations: 35.98 kB / 458.9 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.5433, allocations: 57.69 kB / 458.9 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.5435, allocations: 69.7 kB / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5435, allocations: 0 / 459 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004893/0.544, allocations: 183.2 kB / 459.2 MB, free: 420 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.5441, allocations: 37.69 kB / 459.2 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.5441, allocations: 8.031 kB / 459.2 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.5441, allocations: 0 / 459.2 MB, free: 368 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.5443, allocations: 12 kB / 459.2 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.5443, allocations: 4 kB / 459.2 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.5444, allocations: 7.984 kB / 459.2 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.5445, allocations: 4 kB / 459.2 MB, free: 340 kB / 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.0001738/0.5447, allocations: 137.8 kB / 459.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.5447, allocations: 19.77 kB / 459.4 MB, free: 172 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.5451, allocations: 131 kB / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.5452, allocations: 0 / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5452, allocations: 0 / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5452, allocations: 0 / 459.5 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.546, allocations: 443.3 kB / 460 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.546, allocations: 0 / 460 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.369e-05/0.5461, allocations: 8.188 kB / 460 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5461, allocations: 11.97 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5461, allocations: 3.938 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.5461, allocations: 384 / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5462, allocations: 7.984 kB / 460 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.5466, allocations: 229.8 kB / 460.2 MB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5467, allocations: 108.9 kB / 460.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.5468, allocations: 8 kB / 460.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5469, allocations: 0 / 460.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.5469, allocations: 11.98 kB / 460.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.547, allocations: 4 kB / 460.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.5473, allocations: 192.2 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5473, allocations: 0 / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004262/0.5477, allocations: 43.94 kB / 460.6 MB, free: 14.88 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.00203/0.5498, allocations: 1.183 MB / 461.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.5503, allocations: 167.3 kB / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5503, allocations: 4.062 kB / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.5504, allocations: 31.98 kB / 462 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.5508, allocations: 28.3 kB / 462 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.5521, allocations: 0.7435 MB / 462.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.5525, allocations: 0.7316 MB / 463.5 MB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.5527, allocations: 39.42 kB / 463.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5527, allocations: 0 / 463.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.624/3.177, allocations: 2.809 MB / 466.3 MB, free: 9.09 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat