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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.00044, allocations: 15.98 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3464, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4952, allocations: 82.15 MB / 451.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.4956, allocations: 75.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.02214/0.5177, allocations: 4.841 MB / 456.4 MB, free: 3.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5178, allocations: 0 / 456.4 MB, free: 3.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.5178, allocations: 4 kB / 456.4 MB, free: 3.516 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.0007874/0.5186, allocations: 0.493 MB / 456.9 MB, free: 2.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.5187, allocations: 8.031 kB / 456.9 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.134e-05/0.5187, allocations: 38.56 kB / 457 MB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.5188, allocations: 7.906 kB / 457 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.5192, allocations: 223.6 kB / 457.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5192, allocations: 0 / 457.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.5193, allocations: 8 kB / 457.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.5195, allocations: 61.59 kB / 457.3 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.5195, allocations: 3.906 kB / 457.3 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.5195, allocations: 3.953 kB / 457.3 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5195, allocations: 7.922 kB / 457.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.5197, allocations: 19.98 kB / 457.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.5202, allocations: 324.9 kB / 457.6 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.5205, allocations: 62.61 kB / 457.7 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.5206, allocations: 0 / 457.7 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.5208, allocations: 72.19 kB / 457.7 MB, free: 2.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.5208, allocations: 4 kB / 457.8 MB, free: 2.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008249/0.5216, allocations: 189 kB / 457.9 MB, free: 1.816 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5217, allocations: 51.41 kB / 458 MB, free: 1.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.5221, allocations: 214.1 kB / 458.2 MB, free: 1.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.5221, allocations: 29.7 kB / 458.2 MB, free: 1.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.5222, allocations: 170.5 kB / 458.4 MB, free: 1.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.5223, allocations: 27.64 kB / 458.4 MB, free: 1.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5223, allocations: 4 kB / 458.4 MB, free: 1.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5225, allocations: 326.8 kB / 458.7 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.5226, allocations: 35.98 kB / 458.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.5228, allocations: 57.62 kB / 458.8 MB, free: 0.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.523, allocations: 73.7 kB / 458.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.523, allocations: 0 / 458.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000459/0.5235, allocations: 179.2 kB / 459.1 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.5236, allocations: 41.62 kB / 459.1 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5236, allocations: 4.031 kB / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5236, allocations: 0 / 459.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.5238, allocations: 16 kB / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5238, allocations: 0 / 459.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.5239, allocations: 4.375 kB / 459.1 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.5239, allocations: 11.98 kB / 459.2 MB, free: 0.5273 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.0001656/0.5241, allocations: 131.1 kB / 459.3 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.5242, allocations: 19.77 kB / 459.3 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004087/0.5246, allocations: 131 kB / 459.4 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5246, allocations: 4 kB / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5246, allocations: 0 / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.5246, allocations: 0 / 459.4 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000783/0.5254, allocations: 439.2 kB / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5254, allocations: 0 / 459.9 MB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.5255, allocations: 11.94 kB / 459.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.5255, allocations: 4.031 kB / 459.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5256, allocations: 7.984 kB / 459.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5256, allocations: 0 / 459.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5256, allocations: 0 / 459.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.526, allocations: 229.8 kB / 460.1 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5261, allocations: 100.9 kB / 460.2 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.5262, allocations: 11.98 kB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.5263, allocations: 4.281 kB / 460.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.5264, allocations: 8 kB / 460.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.5264, allocations: 3.984 kB / 460.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002867/0.5267, allocations: 185.1 kB / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5267, allocations: 0 / 460.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.5272, allocations: 39.94 kB / 460.5 MB, free: 15.11 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.001988/0.5292, allocations: 1.181 MB / 461.6 MB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004637/0.5297, allocations: 167.3 kB / 461.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5297, allocations: 4.062 kB / 461.8 MB, free: 13.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.5298, allocations: 35.92 kB / 461.8 MB, free: 13.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.5302, allocations: 16.17 kB / 461.9 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.5316, allocations: 0.7382 MB / 462.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.532, allocations: 0.7158 MB / 463.3 MB, free: 12.19 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.5321, allocations: 39.42 kB / 463.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5322, allocations: 3.938 kB / 463.4 MB, free: 12.15 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.561/3.093, allocations: 2.715 MB / 466.1 MB, free: 9.438 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat does not exist to compare? outputFormat=mat