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.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.578e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3311, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4749, allocations: 81.22 MB / 439.4 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4753, allocations: 79.94 kB / 439.4 MB, free: 13.44 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01889/0.4942, allocations: 4.366 MB / 443.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4942, allocations: 0 / 443.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.4942, allocations: 0 / 443.8 MB, free: 9.066 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005315/0.4948, allocations: 457.4 kB / 444.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4948, allocations: 8.031 kB / 444.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.4949, allocations: 7.906 kB / 444.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4952, allocations: 199.8 kB / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4953, allocations: 3.984 kB / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.4953, allocations: 4 kB / 444.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.392e-05/0.4954, allocations: 16 kB / 444.5 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4955, allocations: 49.67 kB / 444.5 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4956, allocations: 7.953 kB / 444.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4956, allocations: 0 / 444.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.4956, allocations: 0 / 444.5 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.4958, allocations: 170.2 kB / 444.7 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.496, allocations: 54.56 kB / 444.8 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.496, allocations: 24.94 kB / 444.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.4961, allocations: 0 / 444.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.4962, allocations: 59.41 kB / 444.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.873e-06/0.4963, allocations: 0 / 444.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002592/0.4965, allocations: 85.45 kB / 444.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4966, allocations: 55.41 kB / 445 MB, free: 7.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.4968, allocations: 165.2 kB / 445.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4968, allocations: 33.7 kB / 445.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.4969, allocations: 158.5 kB / 445.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.497, allocations: 15.81 kB / 445.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.497, allocations: 0 / 445.3 MB, free: 7.324 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4971, allocations: 318.8 kB / 445.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.4972, allocations: 20 kB / 445.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.983e-05/0.4973, allocations: 45.64 kB / 445.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.4975, allocations: 35.98 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4975, allocations: 0 / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002928/0.4978, allocations: 105.6 kB / 445.9 MB, free: 6.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.4978, allocations: 33.7 kB / 445.9 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4979, allocations: 8.109 kB / 445.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4979, allocations: 0 / 445.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.498, allocations: 12 kB / 445.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.498, allocations: 0 / 445.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.4982, allocations: 15.84 kB / 445.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.4982, allocations: 11.98 kB / 445.9 MB, free: 6.703 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 (8): * Single equations (assignments): 7 * 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 8.952e-05/0.4983, allocations: 117.6 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00017/0.4985, allocations: 73.59 kB / 446.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4985, allocations: 7.906 kB / 446.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.4988, allocations: 90.02 kB / 446.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.4988, allocations: 4 kB / 446.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4988, allocations: 3.953 kB / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4988, allocations: 0 / 446.2 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.499, allocations: 170 kB / 446.4 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.499, allocations: 4 kB / 446.4 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/0.4991, allocations: 4 kB / 446.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.4991, allocations: 3.984 kB / 446.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4991, allocations: 4 kB / 446.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4991, allocations: 0 / 446.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4991, allocations: 0 / 446.4 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.4993, allocations: 109.6 kB / 446.5 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4994, allocations: 97 kB / 446.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.4995, allocations: 0 / 446.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.4996, allocations: 4.188 kB / 446.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.4996, allocations: 7.984 kB / 446.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4996, allocations: 8 kB / 446.6 MB, free: 5.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.4998, allocations: 135.1 kB / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4998, allocations: 0 / 446.8 MB, free: 5.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.5002, allocations: 35.94 kB / 446.8 MB, free: 5.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0013/0.5015, allocations: 0.8717 MB / 447.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.5018, allocations: 139.3 kB / 447.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5018, allocations: 0 / 447.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.533e-05/0.5019, allocations: 16 kB / 447.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.5022, allocations: 19.98 kB / 447.8 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006214/0.5028, allocations: 220.5 kB / 448.1 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.5031, allocations: 0.708 MB / 448.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.028e-05/0.5032, allocations: 27.42 kB / 448.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5032, allocations: 0 / 448.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.551/3.054, allocations: 2.176 MB / 451 MB, free: 1.512 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat