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.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.511e-05/2.508e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3261, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1432/0.4694, allocations: 81.4 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4697, allocations: 71.95 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.02039/0.4901, allocations: 4.513 MB / 444.1 MB, free: 8.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4901, allocations: 3.938 kB / 444.1 MB, free: 8.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.4902, allocations: 4 kB / 444.1 MB, free: 8.75 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.0006234/0.4908, allocations: 461.5 kB / 444.6 MB, free: 8.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4909, allocations: 12.03 kB / 444.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.4909, allocations: 11.91 kB / 444.6 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.4913, allocations: 207.6 kB / 444.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.4914, allocations: 4 kB / 444.8 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.4914, allocations: 4 kB / 444.8 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.662e-05/0.4915, allocations: 12 kB / 444.8 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.4917, allocations: 53.67 kB / 444.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4917, allocations: 7.953 kB / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4917, allocations: 0 / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4917, allocations: 0 / 444.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.4922, allocations: 289.3 kB / 445.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.4924, allocations: 58.62 kB / 445.2 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.955e-05/0.4925, allocations: 16.98 kB / 445.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.4925, allocations: 3.984 kB / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.4927, allocations: 67.36 kB / 445.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.4927, allocations: 0 / 445.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000613/0.4933, allocations: 157.3 kB / 445.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4934, allocations: 55.41 kB / 445.5 MB, free: 7.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.4936, allocations: 161.2 kB / 445.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.4936, allocations: 29.7 kB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.4937, allocations: 162.5 kB / 445.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.4938, allocations: 23.7 kB / 445.9 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.4938, allocations: 7.938 kB / 445.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4939, allocations: 315.5 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.494, allocations: 35.98 kB / 446.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.4942, allocations: 46.98 kB / 446.3 MB, free: 6.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4943, allocations: 39.98 kB / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4943, allocations: 0 / 446.3 MB, free: 6.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003349/0.4947, allocations: 125.6 kB / 446.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.4947, allocations: 37.69 kB / 446.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.4947, allocations: 8.078 kB / 446.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4948, allocations: 3.938 kB / 446.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4949, allocations: 19.92 kB / 446.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.495, allocations: 4 kB / 446.5 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.4951, allocations: 4 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.4951, allocations: 4 kB / 446.5 MB, free: 6.125 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 0.0001034/0.4952, allocations: 111 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002199/0.4955, allocations: 93.48 kB / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.4955, allocations: 15.86 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.4958, allocations: 118.4 kB / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4958, allocations: 0 / 446.9 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.4959, allocations: 4 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4959, allocations: 0 / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.4964, allocations: 383.7 kB / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4965, allocations: 0 / 447.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/0.4965, allocations: 8 kB / 447.2 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.4966, allocations: 12 kB / 447.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.4966, allocations: 4 kB / 447.3 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4966, allocations: 0 / 447.3 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4966, allocations: 3.938 kB / 447.3 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.4969, allocations: 210 kB / 447.5 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.497, allocations: 97 kB / 447.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.4971, allocations: 8 kB / 447.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4972, allocations: 0 / 447.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.4973, allocations: 11.92 kB / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4973, allocations: 8 kB / 447.6 MB, free: 4.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.4975, allocations: 139.1 kB / 447.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4975, allocations: 0 / 447.7 MB, free: 4.812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.4979, allocations: 32 kB / 447.8 MB, free: 4.781 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.001582/0.4994, allocations: 1.097 MB / 448.8 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003417/0.4998, allocations: 163.3 kB / 449 MB, free: 3.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4998, allocations: 4 kB / 449 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-05/0.4999, allocations: 23.98 kB / 449 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5003, allocations: 23.84 kB / 449.1 MB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007067/0.501, allocations: 237.6 kB / 449.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.5014, allocations: 0.7159 MB / 450 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.5015, allocations: 31.42 kB / 450 MB, free: 2.438 MB / 378.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5015, allocations: 0 / 450 MB, free: 2.438 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.694/3.196, allocations: 2.424 MB / 452.5 MB, free: 8 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat