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.Test76.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.Test76,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.777e-05, allocations: 8 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3494, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.5001, allocations: 81.38 MB / 439.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.5004, allocations: 75.95 kB / 439.6 MB, free: 13.29 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.02279/0.5232, allocations: 4.962 MB / 444.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5232, allocations: 0 / 444.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5233, allocations: 11.94 kB / 444.6 MB, free: 8.305 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000632/0.5239, allocations: 465.5 kB / 445 MB, free: 7.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.524, allocations: 8.031 kB / 445 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.5241, allocations: 15.84 kB / 445 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.5245, allocations: 210.9 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5245, allocations: 0 / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.5245, allocations: 4 kB / 445.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001786/0.5247, allocations: 55.86 kB / 445.3 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.5249, allocations: 65.66 kB / 445.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5249, allocations: 3.984 kB / 445.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.525, allocations: 0 / 445.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.525, allocations: 0 / 445.4 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005673/0.5255, allocations: 329.2 kB / 445.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.5258, allocations: 74.67 kB / 445.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.5259, allocations: 32.75 kB / 445.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.5259, allocations: 8 kB / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.5261, allocations: 75.38 kB / 445.9 MB, free: 6.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.385e-06/0.5262, allocations: 4 kB / 445.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007622/0.5269, allocations: 210.1 kB / 446.1 MB, free: 6.605 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.527, allocations: 55.41 kB / 446.1 MB, free: 6.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.5273, allocations: 170.4 kB / 446.3 MB, free: 6.355 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5273, allocations: 25.7 kB / 446.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.5274, allocations: 166.7 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.5275, allocations: 31.55 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.5275, allocations: 4 kB / 446.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5277, allocations: 318.8 kB / 446.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.5278, allocations: 47.98 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.528, allocations: 63.27 kB / 447 MB, free: 5.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.5282, allocations: 46.66 kB / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5282, allocations: 0 / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004265/0.5286, allocations: 165.5 kB / 447.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.5287, allocations: 37.69 kB / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5287, allocations: 0 / 447.2 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5287, allocations: 8.031 kB / 447.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.5289, allocations: 20 kB / 447.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5289, allocations: 3.984 kB / 447.2 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.529, allocations: 7.938 kB / 447.2 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.5291, allocations: 4 kB / 447.2 MB, free: 5.395 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 (13): * Single equations (assignments): 12 * 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 9.742e-05/0.5292, allocations: 105.1 kB / 447.3 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003358/0.5295, allocations: 137.3 kB / 447.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.5296, allocations: 11.91 kB / 447.5 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.53, allocations: 163.5 kB / 447.7 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.53, allocations: 4 kB / 447.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5301, allocations: 0 / 447.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.5301, allocations: 0 / 447.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.5308, allocations: 443.8 kB / 448.1 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.5309, allocations: 3.984 kB / 448.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.531, allocations: 12 kB / 448.1 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.531, allocations: 4 kB / 448.1 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5311, allocations: 4.031 kB / 448.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5311, allocations: 8 kB / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5311, allocations: 3.938 kB / 448.1 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.5315, allocations: 253.9 kB / 448.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5316, allocations: 101 kB / 448.5 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.5317, allocations: 4 kB / 448.5 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.5318, allocations: 4 kB / 448.5 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.5319, allocations: 7.984 kB / 448.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.5319, allocations: 8 kB / 448.5 MB, free: 4.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.5321, allocations: 132 kB / 448.6 MB, free: 3.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5321, allocations: 4 kB / 448.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004382/0.5325, allocations: 47.92 kB / 448.7 MB, free: 3.852 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 (13): * Single equations (assignments): 11 * 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.001732/0.5343, allocations: 1.117 MB / 449.8 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.5347, allocations: 187.3 kB / 450 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5348, allocations: 0 / 450 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.5349, allocations: 55.92 kB / 450 MB, free: 2.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.5353, allocations: 12.8 kB / 450 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008522/0.5362, allocations: 277.9 kB / 450.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.5365, allocations: 0.7159 MB / 451 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5367, allocations: 43.86 kB / 451.1 MB, free: 1.398 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5367, allocations: 0 / 451.1 MB, free: 1.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.15, allocations: 2.736 MB / 453.8 MB, free: 14.66 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat does not exist to compare? outputFormat=mat