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.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.691e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3672, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.5175, allocations: 81.35 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5178, allocations: 67.97 kB / 439.6 MB, free: 13.31 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.02016/0.538, allocations: 4.47 MB / 444 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.538, allocations: 7.922 kB / 444 MB, free: 8.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.5381, allocations: 4 kB / 444 MB, free: 8.828 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.0006269/0.5387, allocations: 461.4 kB / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5388, allocations: 12.03 kB / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.5388, allocations: 7.906 kB / 444.5 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.5392, allocations: 210.8 kB / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.5393, allocations: 0 / 444.7 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.5393, allocations: 8 kB / 444.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.862e-05/0.5394, allocations: 23.98 kB / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.5395, allocations: 49.69 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.5396, allocations: 3.953 kB / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5396, allocations: 0 / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5396, allocations: 0 / 444.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.5401, allocations: 289.4 kB / 445.1 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.5403, allocations: 58.62 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.5403, allocations: 20.98 kB / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5404, allocations: 0 / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.5405, allocations: 67.34 kB / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.5406, allocations: 0 / 445.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006579/0.5412, allocations: 157.1 kB / 445.4 MB, free: 7.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.5413, allocations: 55.41 kB / 445.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002479/0.5415, allocations: 178.5 kB / 445.6 MB, free: 7.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.5416, allocations: 25.7 kB / 445.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.5417, allocations: 162.6 kB / 445.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.5417, allocations: 27.64 kB / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/0.5418, allocations: 3.938 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5419, allocations: 315.5 kB / 446.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.542, allocations: 32 kB / 446.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.5421, allocations: 55.25 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5423, allocations: 35.98 kB / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5423, allocations: 0 / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003392/0.5426, allocations: 137.5 kB / 446.4 MB, free: 6.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.5427, allocations: 37.69 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5427, allocations: 3.953 kB / 446.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5427, allocations: 4 kB / 446.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.5429, allocations: 19.94 kB / 446.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5429, allocations: 0 / 446.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.543, allocations: 12.02 kB / 446.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5431, allocations: 8 kB / 446.5 MB, free: 6.164 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.0001126/0.5432, allocations: 107 kB / 446.6 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002207/0.5434, allocations: 93.58 kB / 446.7 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.5435, allocations: 19.75 kB / 446.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.5438, allocations: 115.6 kB / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5438, allocations: 0 / 446.8 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5438, allocations: 3.984 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5439, allocations: 4 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005842/0.5444, allocations: 379.8 kB / 447.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.5445, allocations: 0 / 447.2 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.5445, allocations: 8.188 kB / 447.2 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5446, allocations: 4 kB / 447.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.5446, allocations: 7.984 kB / 447.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.5446, allocations: 0 / 447.2 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.5446, allocations: 3.938 kB / 447.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.5449, allocations: 221.9 kB / 447.4 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.545, allocations: 97 kB / 447.5 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5451, allocations: 0 / 447.5 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.5452, allocations: 4 kB / 447.5 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.5453, allocations: 11.92 kB / 447.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5453, allocations: 8 kB / 447.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.5455, allocations: 139.9 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5455, allocations: 0 / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000404/0.5459, allocations: 36.22 kB / 447.7 MB, free: 4.812 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.001564/0.5475, allocations: 1.092 MB / 448.8 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.5479, allocations: 167.2 kB / 449 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5479, allocations: 4 kB / 449 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.548, allocations: 28 kB / 449 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5484, allocations: 16.92 kB / 449 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.5492, allocations: 261.9 kB / 449.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.5495, allocations: 0.7158 MB / 450 MB, free: 2.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.5496, allocations: 31.42 kB / 450 MB, free: 2.453 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5496, allocations: 4 kB / 450 MB, free: 2.449 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.542/3.092, allocations: 2.487 MB / 452.5 MB, free: 15.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat does not exist to compare? outputFormat=mat