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.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.133e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.4802, allocations: 81.51 MB / 439.6 MB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.4806, allocations: 67.97 kB / 439.7 MB, free: 13.15 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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.03818/0.5187, allocations: 7.007 MB / 446.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5188, allocations: 0 / 446.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.5188, allocations: 4 kB / 446.7 MB, free: 6.121 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.0008634/0.5197, allocations: 0.6293 MB / 447.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.5198, allocations: 12.03 kB / 447.4 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.5199, allocations: 31.62 kB / 447.4 MB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.5206, allocations: 295.9 kB / 447.7 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.5206, allocations: 4 kB / 447.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.5206, allocations: 19.84 kB / 447.7 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001519/0.5208, allocations: 39.92 kB / 447.7 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.521, allocations: 87.38 kB / 447.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.5211, allocations: 0 / 447.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.5211, allocations: 0 / 447.8 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5211, allocations: 4 kB / 447.8 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.5219, allocations: 497.3 kB / 448.3 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.5222, allocations: 105.4 kB / 448.4 MB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.5223, allocations: 45.83 kB / 448.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.5223, allocations: 0 / 448.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.5226, allocations: 109 kB / 448.6 MB, free: 4.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.124e-06/0.5226, allocations: 0 / 448.6 MB, free: 4.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001066/0.5237, allocations: 335.8 kB / 448.9 MB, free: 3.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.5237, allocations: 77.11 kB / 449 MB, free: 3.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.5245, allocations: 417.5 kB / 449.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.5245, allocations: 29.7 kB / 449.4 MB, free: 3.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5247, allocations: 195 kB / 449.6 MB, free: 2.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.5247, allocations: 47.36 kB / 449.7 MB, free: 2.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.795e-05/0.5248, allocations: 4 kB / 449.7 MB, free: 2.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5249, allocations: 326.8 kB / 450 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.5251, allocations: 64.19 kB / 450 MB, free: 2.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.5253, allocations: 99.59 kB / 450.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.5256, allocations: 79.91 kB / 450.2 MB, free: 2.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.5256, allocations: 3.938 kB / 450.2 MB, free: 2.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006204/0.5262, allocations: 229.5 kB / 450.4 MB, free: 2.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.5263, allocations: 71.39 kB / 450.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5263, allocations: 0 / 450.5 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5263, allocations: 4 kB / 450.5 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.5266, allocations: 35.98 kB / 450.5 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5266, allocations: 3.938 kB / 450.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.5268, allocations: 15.92 kB / 450.6 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.5269, allocations: 12.38 kB / 450.6 MB, free: 1.977 MB / 378.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 () * 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.0001181/0.527, allocations: 119 kB / 450.7 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004205/0.5274, allocations: 177.2 kB / 450.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.5275, allocations: 39.62 kB / 450.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006029/0.5281, allocations: 212.6 kB / 451.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.5282, allocations: 0 / 451.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.5282, allocations: 0 / 451.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5282, allocations: 0 / 451.1 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.5293, allocations: 0.6521 MB / 451.8 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5294, allocations: 0 / 451.8 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5295, allocations: 27.92 kB / 451.8 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.5295, allocations: 4 kB / 451.8 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.5296, allocations: 4 kB / 451.8 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5296, allocations: 0 / 451.8 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5296, allocations: 384 / 451.8 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.5301, allocations: 410.5 kB / 452.2 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.5304, allocations: 144.6 kB / 452.3 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.765e-05/0.5305, allocations: 8 kB / 452.4 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.5307, allocations: 7.938 kB / 452.4 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.5308, allocations: 19.97 kB / 452.4 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.5308, allocations: 12 kB / 452.4 MB, free: 36 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005479/0.5314, allocations: 316.5 kB / 452.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5314, allocations: 0 / 452.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000632/0.532, allocations: 91.86 kB / 452.8 MB, free: 15.63 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) * 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.002434/0.5345, allocations: 1.596 MB / 454.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006361/0.5352, allocations: 310.7 kB / 454.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.5352, allocations: 0 / 454.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.5353, allocations: 60.05 kB / 454.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/0.536, allocations: 50.27 kB / 454.8 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.5376, allocations: 0.5667 MB / 455.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.538, allocations: 0.7835 MB / 456.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.5383, allocations: 91.34 kB / 456.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5383, allocations: 0 / 456.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.702/3.24, allocations: 5.318 MB / 461.6 MB, free: 6.789 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat