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.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.31/2.31, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004349, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.335, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4823, allocations: 82.15 MB / 451.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.4826, allocations: 87.89 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.02097/0.5036, allocations: 4.622 MB / 456.2 MB, free: 3.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5037, allocations: 0 / 456.2 MB, free: 3.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.5037, allocations: 4 kB / 456.2 MB, free: 3.629 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.0006578/0.5044, allocations: 478.1 kB / 456.7 MB, free: 3.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.5044, allocations: 8.031 kB / 456.7 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.5045, allocations: 42.55 kB / 456.7 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.5045, allocations: 11.91 kB / 456.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.5049, allocations: 206.9 kB / 457 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5049, allocations: 4 kB / 457 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.505, allocations: 4 kB / 457 MB, free: 2.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.5052, allocations: 57.67 kB / 457 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5052, allocations: 0 / 457 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.5052, allocations: 3.953 kB / 457 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5052, allocations: 0 / 457 MB, free: 2.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.5054, allocations: 19.98 kB / 457 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.5059, allocations: 324.7 kB / 457.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.5062, allocations: 62.62 kB / 457.4 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.5062, allocations: 3.984 kB / 457.4 MB, free: 2.254 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.5064, allocations: 76.19 kB / 457.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 5.24e-06/0.5064, allocations: 0 / 457.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008022/0.5072, allocations: 181.2 kB / 457.7 MB, free: 1.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.5073, allocations: 55.41 kB / 457.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.5076, allocations: 186.3 kB / 457.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.5076, allocations: 29.7 kB / 457.9 MB, free: 1.684 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.252e-05/0.5077, allocations: 162.5 kB / 458.1 MB, free: 1.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.5078, allocations: 27.64 kB / 458.1 MB, free: 1.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.5078, allocations: 8 kB / 458.1 MB, free: 1.488 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5079, allocations: 314.8 kB / 458.4 MB, free: 1.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.5081, allocations: 39.98 kB / 458.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.5082, allocations: 53.62 kB / 458.5 MB, free: 1.074 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5084, allocations: 77.69 kB / 458.6 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.5084, allocations: 4 kB / 458.6 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004471/0.5089, allocations: 175.2 kB / 458.8 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.509, allocations: 43.75 kB / 458.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.509, allocations: 0 / 458.8 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.509, allocations: 4 kB / 458.8 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.5092, allocations: 15.98 kB / 458.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5092, allocations: 0 / 458.8 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.5093, allocations: 4 kB / 458.9 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.5093, allocations: 12 kB / 458.9 MB, free: 0.7227 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.0001662/0.5095, allocations: 129.8 kB / 459 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.5096, allocations: 15.86 kB / 459 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.51, allocations: 119 kB / 459.1 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.51, allocations: 4 kB / 459.1 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.51, allocations: 0 / 459.1 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.51, allocations: 0 / 459.1 MB, free: 444 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.5107, allocations: 419.2 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5107, allocations: 0 / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.017e-05/0.5108, allocations: 24 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5108, allocations: 3.938 kB / 459.6 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.5109, allocations: 4 kB / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5109, allocations: 0 / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5109, allocations: 0 / 459.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.5113, allocations: 225.9 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.5114, allocations: 101.2 kB / 459.9 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.5114, allocations: 7.984 kB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.5115, allocations: 4 kB / 459.9 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.5116, allocations: 7.938 kB / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5116, allocations: 8.359 kB / 459.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001845/0.5118, allocations: 143.9 kB / 460.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5118, allocations: 0 / 460.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004054/0.5122, allocations: 43.94 kB / 460.1 MB, free: 15.36 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.001912/0.5142, allocations: 1.17 MB / 461.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.5147, allocations: 167.4 kB / 461.4 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5147, allocations: 3.938 kB / 461.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.5148, allocations: 31.98 kB / 461.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.5152, allocations: 19.98 kB / 461.5 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.5163, allocations: 0.6669 MB / 462.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.5166, allocations: 0.716 MB / 462.9 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5167, allocations: 39.36 kB / 462.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5167, allocations: 0 / 462.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.53/3.047, allocations: 2.483 MB / 465.4 MB, free: 10.02 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat