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.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.398e-05/2.406e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3354, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.4782, allocations: 81.4 MB / 439.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4785, allocations: 71.95 kB / 439.6 MB, free: 13.36 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.01982/0.4983, allocations: 4.481 MB / 444.1 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4983, allocations: 0 / 444.1 MB, free: 8.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.4984, allocations: 0 / 444.1 MB, free: 8.871 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.0005989/0.499, allocations: 461.4 kB / 444.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.499, allocations: 12.03 kB / 444.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.4991, allocations: 11.91 kB / 444.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.4995, allocations: 207.4 kB / 444.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4995, allocations: 0 / 444.8 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4996, allocations: 11.94 kB / 444.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001004/0.4997, allocations: 19.98 kB / 444.8 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4998, allocations: 49.69 kB / 444.8 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4998, allocations: 7.938 kB / 444.8 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4999, allocations: 0 / 444.8 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4999, allocations: 7.984 kB / 444.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.5003, allocations: 281.5 kB / 445.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.5005, allocations: 50.62 kB / 445.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.5006, allocations: 20.98 kB / 445.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.5006, allocations: 0 / 445.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.5008, allocations: 75.34 kB / 445.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.5008, allocations: 0 / 445.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006034/0.5014, allocations: 157.1 kB / 445.4 MB, free: 7.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5014, allocations: 51.41 kB / 445.5 MB, free: 7.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5016, allocations: 150.3 kB / 445.6 MB, free: 7.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.5017, allocations: 25.7 kB / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.5018, allocations: 166.5 kB / 445.8 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.5018, allocations: 27.64 kB / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/0.5018, allocations: 0 / 445.8 MB, free: 6.906 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.502, allocations: 319.5 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.5021, allocations: 35.98 kB / 446.2 MB, free: 6.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.5022, allocations: 46.98 kB / 446.2 MB, free: 6.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.5023, allocations: 39.98 kB / 446.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5024, allocations: 0 / 446.3 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000337/0.5027, allocations: 133.5 kB / 446.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/0.5028, allocations: 33.69 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5028, allocations: 11.98 kB / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5028, allocations: 0 / 446.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.503, allocations: 15.98 kB / 446.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.503, allocations: 3.938 kB / 446.5 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.5031, allocations: 4.094 kB / 446.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.5032, allocations: 11.94 kB / 446.5 MB, free: 6.238 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.15e-05/0.5033, allocations: 111 kB / 446.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002188/0.5035, allocations: 89.58 kB / 446.7 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.762e-05/0.5035, allocations: 11.86 kB / 446.7 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.5039, allocations: 122.1 kB / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5039, allocations: 0 / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5039, allocations: 0 / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5039, allocations: 0 / 446.8 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.5045, allocations: 376 kB / 447.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5045, allocations: 4 kB / 447.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.5046, allocations: 8 kB / 447.2 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.5046, allocations: 4.219 kB / 447.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5046, allocations: 8 kB / 447.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5046, allocations: 3.984 kB / 447.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5046, allocations: 0 / 447.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.5049, allocations: 213.9 kB / 447.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.505, allocations: 100.9 kB / 447.5 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.5051, allocations: 4 kB / 447.5 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.5052, allocations: 4 kB / 447.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.5053, allocations: 15.86 kB / 447.5 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5053, allocations: 4 kB / 447.5 MB, free: 5.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.5055, allocations: 119.3 kB / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5055, allocations: 0 / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000403/0.5059, allocations: 35.92 kB / 447.7 MB, free: 4.922 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.00154/0.5074, allocations: 1.088 MB / 448.8 MB, free: 3.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.5078, allocations: 159.3 kB / 448.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5078, allocations: 0 / 448.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.5079, allocations: 28 kB / 449 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.5082, allocations: 20.11 kB / 449 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.509, allocations: 233.5 kB / 449.2 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5093, allocations: 0.7159 MB / 449.9 MB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.5094, allocations: 35.36 kB / 450 MB, free: 2.598 MB / 378.7 MB Notification: Performance of SimCode: time 8.31e-07/0.5094, allocations: 4 kB / 450 MB, free: 2.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.592/3.101, allocations: 2.368 MB / 452.3 MB, free: 228 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat