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.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.671e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.333, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.477, allocations: 81.36 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4773, allocations: 71.97 kB / 439.6 MB, free: 13.31 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.0192/0.4965, allocations: 4.419 MB / 444 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4965, allocations: 3.938 kB / 444 MB, free: 8.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4966, allocations: 4 kB / 444 MB, free: 8.883 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.000571/0.4971, allocations: 461.5 kB / 444.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4972, allocations: 8.031 kB / 444.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.4973, allocations: 15.91 kB / 444.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.4976, allocations: 203.6 kB / 444.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4977, allocations: 7.984 kB / 444.7 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.4977, allocations: 8 kB / 444.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.147e-05/0.4978, allocations: 12 kB / 444.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4979, allocations: 53.67 kB / 444.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.498, allocations: 3.953 kB / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.498, allocations: 0 / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.498, allocations: 4 kB / 444.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.4985, allocations: 289.3 kB / 445 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.4987, allocations: 50.62 kB / 445.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.4987, allocations: 24.98 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.4988, allocations: 0 / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.4989, allocations: 67.34 kB / 445.2 MB, free: 7.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.4989, allocations: 4 kB / 445.2 MB, free: 7.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000593/0.4996, allocations: 157.3 kB / 445.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.4996, allocations: 51.41 kB / 445.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.4998, allocations: 165.2 kB / 445.5 MB, free: 7.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.4999, allocations: 25.7 kB / 445.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.5, allocations: 166.5 kB / 445.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.5, allocations: 23.7 kB / 445.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.868e-06/0.5, allocations: 3.938 kB / 445.8 MB, free: 6.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5001, allocations: 319.4 kB / 446.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.5003, allocations: 36 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.5004, allocations: 46.97 kB / 446.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.5005, allocations: 43.98 kB / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.5005, allocations: 0 / 446.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003262/0.5009, allocations: 125.6 kB / 446.3 MB, free: 6.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.5009, allocations: 33.69 kB / 446.3 MB, free: 6.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5009, allocations: 7.953 kB / 446.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.501, allocations: 4.031 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.5011, allocations: 19.92 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5012, allocations: 4 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/0.5013, allocations: 4 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.5013, allocations: 4 kB / 446.4 MB, free: 6.254 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.599e-05/0.5014, allocations: 111 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002273/0.5016, allocations: 93.48 kB / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.5017, allocations: 11.86 kB / 446.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.502, allocations: 118.2 kB / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.502, allocations: 0 / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.502, allocations: 0 / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.502, allocations: 0 / 446.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.5026, allocations: 388 kB / 447.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.5026, allocations: 8 kB / 447.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.67e-05/0.5027, allocations: 8 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.5027, allocations: 0 / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5028, allocations: 3.984 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5028, allocations: 8.031 kB / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.5028, allocations: 3.938 kB / 447.1 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.5031, allocations: 210 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.5032, allocations: 97 kB / 447.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.5033, allocations: 4.281 kB / 447.4 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5034, allocations: 4 kB / 447.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.5034, allocations: 11.92 kB / 447.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.5035, allocations: 7.938 kB / 447.5 MB, free: 5.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.5036, allocations: 139.1 kB / 447.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5036, allocations: 0 / 447.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.504, allocations: 36 kB / 447.6 MB, free: 4.906 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.001514/0.5056, allocations: 1.085 MB / 448.7 MB, free: 3.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.5059, allocations: 155.3 kB / 448.9 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5059, allocations: 8.062 kB / 448.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.502e-05/0.506, allocations: 31.97 kB / 448.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.5064, allocations: 27.84 kB / 448.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007277/0.5072, allocations: 233.6 kB / 449.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.5075, allocations: 0.7119 MB / 449.9 MB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.5076, allocations: 35.48 kB / 449.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.5076, allocations: 0 / 449.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.645/3.153, allocations: 2.424 MB / 452.3 MB, free: 144 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat