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.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.2/2.2, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.321e-05/3.337e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4741, allocations: 81.39 MB / 439.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4744, allocations: 67.95 kB / 439.6 MB, free: 13.29 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.02067/0.4951, allocations: 4.697 MB / 444.3 MB, free: 8.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4951, allocations: 0 / 444.3 MB, free: 8.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.4951, allocations: 4 kB / 444.3 MB, free: 8.578 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.0005896/0.4957, allocations: 469.4 kB / 444.7 MB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.4958, allocations: 8.031 kB / 444.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/0.4959, allocations: 11.91 kB / 444.8 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.4963, allocations: 222.8 kB / 445 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4963, allocations: 0 / 445 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.4963, allocations: 4 kB / 445 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.644e-05/0.4964, allocations: 19.98 kB / 445 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.4966, allocations: 49.69 kB / 445.1 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.4966, allocations: 7.891 kB / 445.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4966, allocations: 0 / 445.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.4967, allocations: 7.984 kB / 445.1 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.4971, allocations: 297.5 kB / 445.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.4973, allocations: 46.69 kB / 445.4 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.4974, allocations: 20.98 kB / 445.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4974, allocations: 0 / 445.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.4975, allocations: 75.28 kB / 445.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.4976, allocations: 0 / 445.5 MB, free: 7.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006014/0.4982, allocations: 157.1 kB / 445.7 MB, free: 7.039 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.4982, allocations: 55.41 kB / 445.7 MB, free: 6.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.4985, allocations: 194.5 kB / 445.9 MB, free: 6.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4986, allocations: 25.7 kB / 445.9 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.4987, allocations: 162.6 kB / 446.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.4987, allocations: 27.59 kB / 446.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-06/0.4987, allocations: 3.938 kB / 446.1 MB, free: 6.551 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4989, allocations: 327.5 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.534e-05/0.499, allocations: 28 kB / 446.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4991, allocations: 49.7 kB / 446.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4992, allocations: 39.98 kB / 446.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4992, allocations: 0 / 446.5 MB, free: 6.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003405/0.4996, allocations: 133.5 kB / 446.7 MB, free: 5.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.4996, allocations: 37.7 kB / 446.7 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.4997, allocations: 3.953 kB / 446.7 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4997, allocations: 8.016 kB / 446.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4999, allocations: 12 kB / 446.7 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4999, allocations: 4 kB / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.5, allocations: 4.094 kB / 446.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.5, allocations: 11.92 kB / 446.8 MB, free: 5.879 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.547e-05/0.5002, allocations: 107 kB / 446.9 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002346/0.5004, allocations: 101.5 kB / 447 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.5004, allocations: 15.77 kB / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5008, allocations: 123.6 kB / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5008, allocations: 0 / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5008, allocations: 0 / 447.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.5008, allocations: 3.984 kB / 447.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.5014, allocations: 391.8 kB / 447.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5014, allocations: 0 / 447.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.5015, allocations: 11.98 kB / 447.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.343e-06/0.5015, allocations: 4 kB / 447.5 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5016, allocations: 4.031 kB / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5016, allocations: 0 / 447.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.5016, allocations: 4 kB / 447.5 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.5019, allocations: 209.9 kB / 447.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.502, allocations: 100.9 kB / 447.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.5021, allocations: 12.17 kB / 447.8 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.5022, allocations: 12 kB / 447.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.5022, allocations: 0 / 447.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.5023, allocations: 7.984 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001903/0.5025, allocations: 160.2 kB / 448 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5025, allocations: 0 / 448 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003959/0.5029, allocations: 35.94 kB / 448 MB, free: 4.492 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.001563/0.5045, allocations: 1.098 MB / 449.1 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.5049, allocations: 159.4 kB / 449.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5049, allocations: 0 / 449.3 MB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.741e-05/0.505, allocations: 31.94 kB / 449.3 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.5054, allocations: 20.92 kB / 449.3 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008085/0.5062, allocations: 280.8 kB / 449.6 MB, free: 2.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.5065, allocations: 0.712 MB / 450.3 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5066, allocations: 39.42 kB / 450.4 MB, free: 2.102 MB / 378.7 MB Notification: Performance of SimCode: time 2.945e-06/0.5067, allocations: 0 / 450.4 MB, free: 2.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.669/3.176, allocations: 2.635 MB / 453 MB, free: 15.46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat does not exist to compare? outputFormat=mat