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.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.55e-05, allocations: 4 kB / 303.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.34, allocations: 54.87 MB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4834, allocations: 81.39 MB / 439.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4837, allocations: 71.95 kB / 439.6 MB, free: 14.05 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.02003/0.5038, allocations: 4.623 MB / 444.2 MB, free: 9.422 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5038, allocations: 7.938 kB / 444.2 MB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.5038, allocations: 0 / 444.2 MB, free: 9.414 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.0005751/0.5044, allocations: 469.4 kB / 444.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.5045, allocations: 8.031 kB / 444.7 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.5045, allocations: 15.91 kB / 444.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.5049, allocations: 207.6 kB / 444.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.5049, allocations: 0 / 444.9 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.505, allocations: 8 kB / 444.9 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.924e-05/0.5051, allocations: 23.98 kB / 444.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.5052, allocations: 53.61 kB / 445 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.5053, allocations: 3.953 kB / 445 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.5053, allocations: 0 / 445 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5053, allocations: 0 / 445 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.5058, allocations: 297.3 kB / 445.3 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.5059, allocations: 54.62 kB / 445.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.506, allocations: 20.98 kB / 445.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.506, allocations: 0 / 445.4 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.5062, allocations: 75.28 kB / 445.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.088e-06/0.5062, allocations: 4 kB / 445.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.5068, allocations: 149.2 kB / 445.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5069, allocations: 59.34 kB / 445.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.5072, allocations: 185.5 kB / 445.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.5072, allocations: 29.69 kB / 445.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.5073, allocations: 170.5 kB / 446 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.5073, allocations: 19.72 kB / 446 MB, free: 7.395 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.5074, allocations: 0 / 446 MB, free: 7.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5075, allocations: 319.5 kB / 446.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.503e-05/0.5076, allocations: 32 kB / 446.4 MB, free: 7.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.5077, allocations: 49.7 kB / 446.4 MB, free: 6.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.5078, allocations: 35.98 kB / 446.5 MB, free: 6.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5079, allocations: 4 kB / 446.5 MB, free: 6.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003243/0.5082, allocations: 121.6 kB / 446.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.5083, allocations: 33.7 kB / 446.6 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5083, allocations: 4.031 kB / 446.6 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.5083, allocations: 4 kB / 446.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.5085, allocations: 15.98 kB / 446.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.5085, allocations: 3.984 kB / 446.7 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-05/0.5086, allocations: 8.031 kB / 446.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.5086, allocations: 8 kB / 446.7 MB, free: 6.742 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.846e-05/0.5087, allocations: 126.9 kB / 446.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002179/0.509, allocations: 93.48 kB / 446.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.509, allocations: 15.86 kB / 446.9 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.5093, allocations: 115.3 kB / 447 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.5093, allocations: 4 kB / 447 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5094, allocations: 0 / 447 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5094, allocations: 4 kB / 447 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.51, allocations: 387.8 kB / 447.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.51, allocations: 0 / 447.4 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.5101, allocations: 8 kB / 447.4 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.5101, allocations: 4.188 kB / 447.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.5101, allocations: 3.984 kB / 447.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5101, allocations: 3.938 kB / 447.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5101, allocations: 0 / 447.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.5104, allocations: 221.9 kB / 447.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.5106, allocations: 100.9 kB / 447.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.5106, allocations: 8 kB / 447.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5107, allocations: 192 / 447.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.5108, allocations: 7.984 kB / 447.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5108, allocations: 12 kB / 447.8 MB, free: 5.543 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.511, allocations: 143.2 kB / 447.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.511, allocations: 0 / 447.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000406/0.5114, allocations: 47.92 kB / 448 MB, free: 5.355 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.00153/0.513, allocations: 1.087 MB / 449 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.5133, allocations: 151.4 kB / 449.2 MB, free: 4.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5133, allocations: 4 kB / 449.2 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/0.5134, allocations: 27.94 kB / 449.2 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5138, allocations: 24.92 kB / 449.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.5146, allocations: 273.8 kB / 449.5 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.5149, allocations: 0.7119 MB / 450.2 MB, free: 3.023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.515, allocations: 35.42 kB / 450.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.515, allocations: 0 / 450.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.49/3.005, allocations: 2.561 MB / 452.8 MB, free: 436 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat