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.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004343, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3362, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.4837, allocations: 82.15 MB / 451.5 MB, free: 8.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.484, allocations: 83.89 kB / 451.6 MB, free: 8.371 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.02044/0.5045, allocations: 4.587 MB / 456.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5045, allocations: 0 / 456.2 MB, free: 3.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5045, allocations: 0 / 456.2 MB, free: 3.777 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.0007438/0.5053, allocations: 478.1 kB / 456.6 MB, free: 3.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.5054, allocations: 8.031 kB / 456.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.5054, allocations: 38.56 kB / 456.7 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.5055, allocations: 7.906 kB / 456.7 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.5059, allocations: 211.4 kB / 456.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.5059, allocations: 4 kB / 456.9 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.5059, allocations: 4 kB / 456.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.5061, allocations: 53.67 kB / 457 MB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5062, allocations: 4 kB / 457 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.5062, allocations: 7.953 kB / 457 MB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5062, allocations: 3.938 kB / 457 MB, free: 2.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.5063, allocations: 23.98 kB / 457 MB, free: 2.836 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.5068, allocations: 312.8 kB / 457.3 MB, free: 2.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.5071, allocations: 62.61 kB / 457.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.5071, allocations: 0 / 457.4 MB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.5074, allocations: 76.19 kB / 457.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.5074, allocations: 0 / 457.4 MB, free: 2.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007852/0.5082, allocations: 193.1 kB / 457.6 MB, free: 2.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.5082, allocations: 51.41 kB / 457.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.5085, allocations: 169.3 kB / 457.9 MB, free: 1.895 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.5085, allocations: 29.64 kB / 457.9 MB, free: 1.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.5086, allocations: 166.5 kB / 458 MB, free: 1.695 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.5087, allocations: 27.66 kB / 458.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/0.5087, allocations: 0 / 458.1 MB, free: 1.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5089, allocations: 322.8 kB / 458.4 MB, free: 1.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.509, allocations: 35.98 kB / 458.4 MB, free: 1.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.5092, allocations: 53.69 kB / 458.5 MB, free: 1.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.5094, allocations: 73.69 kB / 458.5 MB, free: 1.172 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5094, allocations: 0 / 458.5 MB, free: 1.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004461/0.5099, allocations: 183.3 kB / 458.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.5099, allocations: 37.69 kB / 458.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5099, allocations: 0 / 458.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.51, allocations: 0 / 458.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.5101, allocations: 16 kB / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.5101, allocations: 0 / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.5102, allocations: 11.98 kB / 458.8 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.5103, allocations: 4.375 kB / 458.8 MB, free: 0.9062 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.000141/0.5104, allocations: 133.8 kB / 458.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.5105, allocations: 19.75 kB / 458.9 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.5109, allocations: 122.3 kB / 459.1 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5109, allocations: 0 / 459.1 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.5109, allocations: 4 kB / 459.1 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5109, allocations: 0 / 459.1 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.5117, allocations: 411.3 kB / 459.5 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.5117, allocations: 8.031 kB / 459.5 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.5118, allocations: 8.188 kB / 459.5 MB, free: 132 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5118, allocations: 3.938 kB / 459.5 MB, free: 128 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5118, allocations: 7.938 kB / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5118, allocations: 0 / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5118, allocations: 0 / 459.5 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.5122, allocations: 229.9 kB / 459.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.5123, allocations: 100.9 kB / 459.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.5124, allocations: 0 / 459.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5125, allocations: 4 kB / 459.8 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.5126, allocations: 11.97 kB / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.5126, allocations: 8 kB / 459.8 MB, free: 15.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.5128, allocations: 139.2 kB / 460 MB, free: 15.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5128, allocations: 0 / 460 MB, free: 15.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003874/0.5132, allocations: 35.94 kB / 460 MB, free: 15.55 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.001875/0.5151, allocations: 1.179 MB / 461.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.5156, allocations: 167.4 kB / 461.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5156, allocations: 0 / 461.4 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.5157, allocations: 35.92 kB / 461.4 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.5161, allocations: 27.56 kB / 461.4 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5172, allocations: 0.6655 MB / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.5175, allocations: 0.716 MB / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.5176, allocations: 31.42 kB / 462.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5176, allocations: 0 / 462.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.532/3.049, allocations: 2.41 MB / 465.2 MB, free: 10.28 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat