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.Test64.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.Test64,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.967e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3457, allocations: 54.84 MB / 358.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.4977, allocations: 81.24 MB / 439.4 MB, free: 13.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.498, allocations: 71.97 kB / 439.4 MB, free: 13.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.02051/0.5185, allocations: 4.664 MB / 444.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.978e-06/0.5186, allocations: 0 / 444.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.5186, allocations: 3.938 kB / 444.1 MB, free: 8.863 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006158/0.5192, allocations: 473.4 kB / 444.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.5193, allocations: 8.031 kB / 444.6 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.337e-05/0.5194, allocations: 19.81 kB / 444.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.5198, allocations: 214.9 kB / 444.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.5198, allocations: 0 / 444.8 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.5198, allocations: 7.984 kB / 444.8 MB, free: 8.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.724e-05/0.5199, allocations: 19.92 kB / 444.8 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5201, allocations: 45.69 kB / 444.9 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5201, allocations: 3.953 kB / 444.9 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5201, allocations: 4 kB / 444.9 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.5202, allocations: 0 / 444.9 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.5204, allocations: 194.1 kB / 445.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.5206, allocations: 42.62 kB / 445.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.5207, allocations: 16.86 kB / 445.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.5207, allocations: 0 / 445.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.5209, allocations: 71.42 kB / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.164e-06/0.5209, allocations: 4 kB / 445.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002681/0.5212, allocations: 73.59 kB / 445.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.5212, allocations: 55.41 kB / 445.3 MB, free: 7.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.5216, allocations: 226.9 kB / 445.6 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.5216, allocations: 25.7 kB / 445.6 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.514e-05/0.5217, allocations: 174.5 kB / 445.8 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.5218, allocations: 11.84 kB / 445.8 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.5218, allocations: 4 kB / 445.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5219, allocations: 314.8 kB / 446.1 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.522, allocations: 31.98 kB / 446.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.5221, allocations: 49.53 kB / 446.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.5222, allocations: 31.92 kB / 446.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5223, allocations: 0 / 446.2 MB, free: 6.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003059/0.5226, allocations: 109.5 kB / 446.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.303e-05/0.5226, allocations: 41.72 kB / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5227, allocations: 0 / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5227, allocations: 0 / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.5228, allocations: 12 kB / 446.3 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.5228, allocations: 0 / 446.3 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.523, allocations: 7.906 kB / 446.4 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.523, allocations: 7.953 kB / 446.4 MB, free: 6.383 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 (8): * Single equations (assignments): 7 * 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.0001011/0.5231, allocations: 115 kB / 446.5 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001834/0.5233, allocations: 77.53 kB / 446.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.5234, allocations: 23.81 kB / 446.6 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.5236, allocations: 91.28 kB / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.5236, allocations: 0 / 446.7 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5237, allocations: 4.203 kB / 446.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5237, allocations: 0 / 446.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.5239, allocations: 186.1 kB / 446.8 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5239, allocations: 4 kB / 446.8 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.021e-05/0.524, allocations: 7.984 kB / 446.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.524, allocations: 0 / 446.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.524, allocations: 0 / 446.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.524, allocations: 0 / 446.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.524, allocations: 7.938 kB / 446.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.5243, allocations: 117.5 kB / 447 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.5244, allocations: 104.9 kB / 447.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.5244, allocations: 0 / 447.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.5245, allocations: 4 kB / 447.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.5246, allocations: 7.984 kB / 447.1 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5246, allocations: 3.938 kB / 447.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.5248, allocations: 191 kB / 447.3 MB, free: 5.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5249, allocations: 0 / 447.3 MB, free: 5.363 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003521/0.5252, allocations: 28 kB / 447.3 MB, free: 5.336 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001398/0.5266, allocations: 0.881 MB / 448.2 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.527, allocations: 135.4 kB / 448.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.527, allocations: 4.062 kB / 448.3 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.5271, allocations: 31.92 kB / 448.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.5274, allocations: 16.17 kB / 448.4 MB, free: 4.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.5282, allocations: 277.3 kB / 448.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5286, allocations: 0.7197 MB / 449.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5287, allocations: 39.42 kB / 449.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5287, allocations: 4 kB / 449.4 MB, free: 3.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.55/3.079, allocations: 2.584 MB / 452 MB, free: 0.5898 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat does not exist to compare? outputFormat=mat