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.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.44e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3451, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.4901, allocations: 81.4 MB / 439.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.4904, allocations: 71.97 kB / 439.6 MB, free: 13.36 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.0195/0.5099, allocations: 4.533 MB / 444.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.51, allocations: 0 / 444.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.51, allocations: 0 / 444.1 MB, free: 8.824 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.0005519/0.5106, allocations: 461.5 kB / 444.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.5106, allocations: 8.031 kB / 444.6 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.5107, allocations: 7.906 kB / 444.6 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.511, allocations: 211.7 kB / 444.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.511, allocations: 0 / 444.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.5111, allocations: 8 kB / 444.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.265e-05/0.5112, allocations: 19.98 kB / 444.8 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.5113, allocations: 49.62 kB / 444.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.5114, allocations: 3.953 kB / 444.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.5114, allocations: 3.984 kB / 444.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5114, allocations: 0 / 444.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.5118, allocations: 297.3 kB / 445.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.512, allocations: 50.69 kB / 445.2 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.5121, allocations: 16.98 kB / 445.2 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.5121, allocations: 8 kB / 445.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5122, allocations: 67.28 kB / 445.3 MB, free: 7.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.5123, allocations: 4 kB / 445.3 MB, free: 7.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005548/0.5128, allocations: 145.4 kB / 445.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.5129, allocations: 55.34 kB / 445.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.5131, allocations: 165.2 kB / 445.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.5131, allocations: 29.69 kB / 445.7 MB, free: 7.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.5132, allocations: 166.5 kB / 445.9 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.5133, allocations: 19.72 kB / 445.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.5133, allocations: 3.938 kB / 445.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5134, allocations: 323.5 kB / 446.2 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.079e-05/0.5135, allocations: 28 kB / 446.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5136, allocations: 49.7 kB / 446.3 MB, free: 6.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.5138, allocations: 35.98 kB / 446.3 MB, free: 6.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.5138, allocations: 4 kB / 446.3 MB, free: 6.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003252/0.5141, allocations: 125.5 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.658e-05/0.5142, allocations: 37.7 kB / 446.5 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5142, allocations: 3.953 kB / 446.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5142, allocations: 8.031 kB / 446.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.5144, allocations: 15.98 kB / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.5144, allocations: 0 / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.5145, allocations: 4 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.5145, allocations: 8 kB / 446.5 MB, free: 6.203 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 9.215e-05/0.5147, allocations: 117.4 kB / 446.6 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002161/0.5149, allocations: 97.48 kB / 446.7 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.5149, allocations: 11.86 kB / 446.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.5152, allocations: 118.2 kB / 446.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5152, allocations: 3.984 kB / 446.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5153, allocations: 0 / 446.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5153, allocations: 0 / 446.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.5158, allocations: 387.8 kB / 447.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5159, allocations: 3.984 kB / 447.2 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.5159, allocations: 12 kB / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5159, allocations: 0 / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.516, allocations: 0 / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.516, allocations: 8.031 kB / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.516, allocations: 0 / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.5163, allocations: 213.9 kB / 447.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.928e-05/0.5164, allocations: 97 kB / 447.6 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.5164, allocations: 4.172 kB / 447.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5166, allocations: 12 kB / 447.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5166, allocations: 4 kB / 447.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.5166, allocations: 7.984 kB / 447.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.5168, allocations: 131.1 kB / 447.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5168, allocations: 0 / 447.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.5172, allocations: 44.27 kB / 447.8 MB, free: 4.848 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.001528/0.5188, allocations: 1.09 MB / 448.9 MB, free: 3.781 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.5191, allocations: 155.3 kB / 449 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5191, allocations: 4.062 kB / 449 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.5192, allocations: 31.94 kB / 449 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.5195, allocations: 19.84 kB / 449.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.5203, allocations: 241.6 kB / 449.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.5206, allocations: 0.708 MB / 450 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.5207, allocations: 35.48 kB / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5207, allocations: 0 / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/3.125, allocations: 2.425 MB / 452.5 MB, free: 84 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat