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.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.219/2.219, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.698e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.335, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.4784, allocations: 81.4 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.4788, allocations: 71.91 kB / 439.6 MB, free: 13.27 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.021/0.4998, allocations: 4.835 MB / 444.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4998, allocations: 4 kB / 444.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.4999, allocations: 4 kB / 444.4 MB, free: 8.422 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.0006319/0.5005, allocations: 481.4 kB / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5006, allocations: 8.031 kB / 444.9 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.5006, allocations: 15.81 kB / 444.9 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.501, allocations: 214.8 kB / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5011, allocations: 0 / 445.1 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.5011, allocations: 8 kB / 445.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.875e-05/0.5012, allocations: 23.98 kB / 445.2 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5014, allocations: 49.62 kB / 445.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5014, allocations: 3.953 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.5014, allocations: 7.984 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5014, allocations: 4 kB / 445.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.502, allocations: 301.4 kB / 445.5 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.5021, allocations: 54.7 kB / 445.6 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.691e-05/0.5022, allocations: 20.97 kB / 445.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5022, allocations: 0 / 445.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.5024, allocations: 67.3 kB / 445.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.5024, allocations: 0 / 445.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006189/0.503, allocations: 161.1 kB / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.5031, allocations: 51.41 kB / 445.9 MB, free: 6.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.5035, allocations: 227 kB / 446.1 MB, free: 6.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.5035, allocations: 33.64 kB / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.5036, allocations: 170.5 kB / 446.3 MB, free: 6.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.5037, allocations: 31.58 kB / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.5037, allocations: 0 / 446.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5038, allocations: 315.5 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.693e-05/0.5039, allocations: 35.98 kB / 446.7 MB, free: 5.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.504, allocations: 45.72 kB / 446.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5042, allocations: 39.98 kB / 446.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5042, allocations: 0 / 446.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003423/0.5045, allocations: 125.6 kB / 446.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.5046, allocations: 37.69 kB / 446.9 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5046, allocations: 4.047 kB / 446.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.5046, allocations: 7.938 kB / 446.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.5048, allocations: 19.98 kB / 447 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.5048, allocations: 0 / 447 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.505, allocations: 8.031 kB / 447 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.505, allocations: 4 kB / 447 MB, free: 5.672 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.455e-05/0.5051, allocations: 108.6 kB / 447.1 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002338/0.5053, allocations: 109.4 kB / 447.2 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.5054, allocations: 19.77 kB / 447.2 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.5057, allocations: 119.6 kB / 447.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5058, allocations: 0 / 447.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5058, allocations: 4 kB / 447.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5058, allocations: 3.984 kB / 447.3 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.5064, allocations: 399.8 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5065, allocations: 0 / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.752e-05/0.5065, allocations: 8 kB / 447.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.5066, allocations: 4 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5066, allocations: 0 / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5066, allocations: 0 / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.5066, allocations: 4.188 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.5069, allocations: 225.8 kB / 447.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.507, allocations: 112.9 kB / 448.1 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.5071, allocations: 4 kB / 448.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.5072, allocations: 0 / 448.1 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.5073, allocations: 11.98 kB / 448.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.5073, allocations: 7.938 kB / 448.1 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002474/0.5076, allocations: 191 kB / 448.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5076, allocations: 0 / 448.3 MB, free: 4.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.508, allocations: 39.94 kB / 448.3 MB, free: 4.223 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.001604/0.5096, allocations: 1.092 MB / 449.4 MB, free: 3.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.51, allocations: 155.3 kB / 449.6 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.51, allocations: 4 kB / 449.6 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.309e-05/0.5101, allocations: 27.94 kB / 449.6 MB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.5105, allocations: 25.11 kB / 449.6 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008778/0.5114, allocations: 302 kB / 449.9 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5118, allocations: 0.7236 MB / 450.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5119, allocations: 47.36 kB / 450.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5119, allocations: 0 / 450.7 MB, free: 1.793 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/3.09, allocations: 2.831 MB / 453.5 MB, free: 14.96 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat