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.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.188e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.336, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4797, allocations: 81.22 MB / 439.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.48, allocations: 71.97 kB / 439.4 MB, free: 13.53 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.01879/0.4989, allocations: 4.362 MB / 443.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4989, allocations: 0 / 443.8 MB, free: 9.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.4989, allocations: 0 / 443.8 MB, free: 9.16 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.0006093/0.4995, allocations: 461.4 kB / 444.2 MB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4996, allocations: 8.031 kB / 444.3 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.4997, allocations: 11.91 kB / 444.3 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.5001, allocations: 203.7 kB / 444.5 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.5001, allocations: 0 / 444.5 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.5001, allocations: 4 kB / 444.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.34e-05/0.5002, allocations: 12 kB / 444.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.5003, allocations: 53.61 kB / 444.5 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5004, allocations: 7.953 kB / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5004, allocations: 0 / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.5004, allocations: 0 / 444.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.5007, allocations: 178.2 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5008, allocations: 46.62 kB / 444.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.423e-05/0.5009, allocations: 20.84 kB / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.5009, allocations: 0 / 444.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.5011, allocations: 67.48 kB / 444.8 MB, free: 7.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.844e-06/0.5011, allocations: 3.938 kB / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002644/0.5014, allocations: 77.59 kB / 444.9 MB, free: 7.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.5014, allocations: 51.41 kB / 445 MB, free: 7.797 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.5017, allocations: 165.2 kB / 445.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.5017, allocations: 33.69 kB / 445.2 MB, free: 7.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.5018, allocations: 162.6 kB / 445.3 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.5019, allocations: 11.81 kB / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.5019, allocations: 4 kB / 445.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.502, allocations: 314.8 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.5021, allocations: 23.98 kB / 445.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.5022, allocations: 41.66 kB / 445.7 MB, free: 7.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.5024, allocations: 35.92 kB / 445.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5024, allocations: 0 / 445.7 MB, free: 6.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00029/0.5027, allocations: 113.6 kB / 445.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/0.5027, allocations: 37.69 kB / 445.9 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5028, allocations: 0 / 445.9 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5028, allocations: 0 / 445.9 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5029, allocations: 16.06 kB / 445.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5029, allocations: 4 kB / 445.9 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.503, allocations: 11.84 kB / 445.9 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.5031, allocations: 11.94 kB / 445.9 MB, free: 6.785 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 9.317e-05/0.5032, allocations: 108.6 kB / 446 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001739/0.5034, allocations: 77.62 kB / 446.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5034, allocations: 7.906 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.5036, allocations: 90.02 kB / 446.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5037, allocations: 7.984 kB / 446.2 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5037, allocations: 3.953 kB / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5037, allocations: 0 / 446.2 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.5039, allocations: 166.1 kB / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.5039, allocations: 0 / 446.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.504, allocations: 4 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.504, allocations: 0 / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.504, allocations: 7.984 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.504, allocations: 4 kB / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.504, allocations: 0 / 446.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.5043, allocations: 105.5 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.5044, allocations: 97 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.5044, allocations: 0 / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.5045, allocations: 7.984 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.5046, allocations: 0 / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5046, allocations: 8.188 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.5047, allocations: 135.2 kB / 446.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5048, allocations: 3.938 kB / 446.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003341/0.5051, allocations: 31.94 kB / 446.8 MB, free: 5.844 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.001399/0.5065, allocations: 0.8842 MB / 447.7 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.5068, allocations: 139.4 kB / 447.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5068, allocations: 0 / 447.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.5069, allocations: 20 kB / 447.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5072, allocations: 23.78 kB / 447.8 MB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.5079, allocations: 212.6 kB / 448.1 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.5082, allocations: 0.7079 MB / 448.8 MB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.5083, allocations: 27.5 kB / 448.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.5083, allocations: 0 / 448.8 MB, free: 3.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.54/3.049, allocations: 2.166 MB / 451 MB, free: 1.605 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat