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.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.216/2.216, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004291, allocations: 16 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3771, allocations: 54.86 MB / 369.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.5224, allocations: 82.26 MB / 451.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5227, allocations: 79.91 kB / 451.7 MB, free: 10.23 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03066/0.5534, allocations: 7.112 MB / 458.8 MB, free: 3.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5534, allocations: 0 / 458.8 MB, free: 3.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.5535, allocations: 12 kB / 458.8 MB, free: 3.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001024/0.5545, allocations: 0.674 MB / 459.5 MB, free: 2.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.5546, allocations: 8.031 kB / 459.5 MB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.696e-05/0.5546, allocations: 38.55 kB / 459.5 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.5548, allocations: 31.62 kB / 459.6 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.5554, allocations: 291 kB / 459.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.5555, allocations: 4 kB / 459.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.5555, allocations: 19.86 kB / 459.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.5558, allocations: 99.34 kB / 460 MB, free: 1.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5559, allocations: 3.938 kB / 460 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.5559, allocations: 4 kB / 460 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5559, allocations: 0 / 460 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.5561, allocations: 47.91 kB / 460 MB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.5571, allocations: 0.5203 MB / 460.6 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.5576, allocations: 133.4 kB / 460.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.5576, allocations: 0 / 460.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.5579, allocations: 113.1 kB / 460.8 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/0.558, allocations: 4 kB / 460.8 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001499/0.5595, allocations: 395.8 kB / 461.2 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.5596, allocations: 81.11 kB / 461.3 MB, free: 404 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008046/0.5604, allocations: 423.5 kB / 461.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.5604, allocations: 33.7 kB / 461.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5606, allocations: 203 kB / 461.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.5607, allocations: 47.3 kB / 462 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.5607, allocations: 8 kB / 462 MB, free: 15.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5608, allocations: 322.8 kB / 462.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.5611, allocations: 80.16 kB / 462.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.5614, allocations: 107.8 kB / 462.5 MB, free: 15.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.5618, allocations: 151.3 kB / 462.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5618, allocations: 0 / 462.6 MB, free: 14.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008376/0.5627, allocations: 320.9 kB / 462.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.448e-05/0.5627, allocations: 67.39 kB / 463 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5628, allocations: 0 / 463 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.5628, allocations: 4 kB / 463 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.5631, allocations: 35.92 kB / 463 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5631, allocations: 4 kB / 463 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.5633, allocations: 11.98 kB / 463 MB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.5634, allocations: 12 kB / 463.1 MB, free: 14.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002775/0.5637, allocations: 185.7 kB / 463.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/0.5638, allocations: 27.62 kB / 463.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.5645, allocations: 240.5 kB / 463.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.5645, allocations: 0 / 463.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5645, allocations: 4 kB / 463.5 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5645, allocations: 3.938 kB / 463.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.5659, allocations: 0.6984 MB / 464.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.5659, allocations: 0 / 464.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.5661, allocations: 23.98 kB / 464.2 MB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.5661, allocations: 4 kB / 464.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.5661, allocations: 4.75 kB / 464.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.5661, allocations: 0 / 464.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5661, allocations: 0 / 464.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.5669, allocations: 429.1 kB / 464.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.5671, allocations: 140.7 kB / 464.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/0.5672, allocations: 7.984 kB / 464.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.5674, allocations: 16 kB / 464.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.5675, allocations: 11.98 kB / 464.8 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.5675, allocations: 15.98 kB / 464.8 MB, free: 12.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005978/0.5681, allocations: 335 kB / 465.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5682, allocations: 0 / 465.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006207/0.5688, allocations: 91.86 kB / 465.3 MB, free: 12.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00312/0.5719, allocations: 1.761 MB / 467 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.5728, allocations: 334.6 kB / 467.3 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5728, allocations: 0 / 467.3 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.5731, allocations: 72.03 kB / 467.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.5737, allocations: 53.64 kB / 467.5 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.576, allocations: 1.438 MB / 468.9 MB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.5765, allocations: 0.7829 MB / 469.7 MB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.5767, allocations: 91.41 kB / 469.8 MB, free: 7.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.5767, allocations: 3.938 kB / 469.8 MB, free: 7.551 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.65/3.227, allocations: 5.274 MB / 475.1 MB, free: 2.281 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat