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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.301/2.301, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.73e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3349, allocations: 54.85 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4788, allocations: 81.35 MB / 439.5 MB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4791, allocations: 75.95 kB / 439.6 MB, free: 13.3 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.02005/0.4992, allocations: 4.419 MB / 444 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4992, allocations: 0 / 444 MB, free: 8.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.4993, allocations: 8 kB / 444 MB, free: 8.875 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.0005853/0.4999, allocations: 465.4 kB / 444.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4999, allocations: 8.031 kB / 444.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.5, allocations: 15.91 kB / 444.5 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.5003, allocations: 195.7 kB / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5004, allocations: 0 / 444.7 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.5004, allocations: 8 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.5005, allocations: 27.92 kB / 444.7 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.5007, allocations: 53.67 kB / 444.7 MB, free: 8.016 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5007, allocations: 3.953 kB / 444.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5007, allocations: 0 / 444.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.5007, allocations: 4 kB / 444.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.5012, allocations: 285.3 kB / 445 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.5014, allocations: 58.62 kB / 445.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.5015, allocations: 20.98 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.5015, allocations: 0 / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.5017, allocations: 67.34 kB / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.5017, allocations: 0 / 445.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000604/0.5023, allocations: 149.3 kB / 445.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5024, allocations: 55.41 kB / 445.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.5026, allocations: 165.2 kB / 445.5 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5026, allocations: 33.7 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.5027, allocations: 162.5 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.5028, allocations: 23.7 kB / 445.7 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.5028, allocations: 3.938 kB / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5029, allocations: 319.5 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.503, allocations: 28 kB / 446.1 MB, free: 6.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.5031, allocations: 51.53 kB / 446.1 MB, free: 6.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.5033, allocations: 43.98 kB / 446.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5033, allocations: 0 / 446.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003274/0.5036, allocations: 125.6 kB / 446.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.5037, allocations: 37.69 kB / 446.3 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5037, allocations: 7.953 kB / 446.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.5037, allocations: 0 / 446.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.5039, allocations: 12 kB / 446.4 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.5039, allocations: 4 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.692e-05/0.504, allocations: 8.078 kB / 446.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5041, allocations: 11.97 kB / 446.4 MB, free: 6.246 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.458e-05/0.5042, allocations: 115 kB / 446.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002195/0.5044, allocations: 97.48 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.5044, allocations: 11.86 kB / 446.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.5048, allocations: 110.2 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5048, allocations: 0 / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5048, allocations: 3.984 kB / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5048, allocations: 0 / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.5054, allocations: 391.8 kB / 447.1 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5054, allocations: 4 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.5055, allocations: 8.188 kB / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5055, allocations: 0 / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.5055, allocations: 4 kB / 447.1 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.5056, allocations: 4 kB / 447.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5056, allocations: 0 / 447.1 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.5059, allocations: 221.9 kB / 447.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.506, allocations: 97 kB / 447.4 MB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.506, allocations: 4 kB / 447.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.5061, allocations: 0 / 447.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.5062, allocations: 7.984 kB / 447.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.5062, allocations: 4 kB / 447.4 MB, free: 5.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.5064, allocations: 131.1 kB / 447.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5064, allocations: 7.938 kB / 447.6 MB, free: 4.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.5068, allocations: 43.98 kB / 447.6 MB, free: 4.895 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.001507/0.5083, allocations: 1.079 MB / 448.7 MB, free: 3.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.5087, allocations: 163.3 kB / 448.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5087, allocations: 4 kB / 448.9 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.5088, allocations: 24 kB / 448.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.5092, allocations: 27.97 kB / 448.9 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.51, allocations: 241.7 kB / 449.2 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.5104, allocations: 0.7079 MB / 449.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5105, allocations: 39.36 kB / 449.9 MB, free: 2.559 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5105, allocations: 0 / 449.9 MB, free: 2.559 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.63/3.141, allocations: 2.42 MB / 452.3 MB, free: 136 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat