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.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.287/2.287, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.447e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3315, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4751, allocations: 81.34 MB / 439.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.4754, allocations: 71.95 kB / 439.6 MB, free: 13.42 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.01981/0.4953, allocations: 4.545 MB / 444.1 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4953, allocations: 0 / 444.1 MB, free: 8.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.4953, 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.0006198/0.496, allocations: 469.4 kB / 444.6 MB, free: 8.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.496, allocations: 12.03 kB / 444.6 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.474e-05/0.4961, allocations: 15.89 kB / 444.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.4965, allocations: 207.6 kB / 444.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4966, allocations: 0 / 444.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.4966, allocations: 4 kB / 444.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.774e-05/0.4967, allocations: 27.92 kB / 444.8 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.4968, allocations: 49.67 kB / 444.9 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.4969, allocations: 3.953 kB / 444.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4969, allocations: 0 / 444.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4969, allocations: 4 kB / 444.9 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.4974, allocations: 301.3 kB / 445.2 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.4976, allocations: 46.69 kB / 445.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.4976, allocations: 24.92 kB / 445.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4977, allocations: 4 kB / 445.2 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.4978, allocations: 67.34 kB / 445.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.4978, allocations: 0 / 445.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.4984, allocations: 153.2 kB / 445.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4985, allocations: 55.39 kB / 445.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4987, allocations: 185.5 kB / 445.7 MB, free: 7.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.4988, allocations: 29.64 kB / 445.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.4989, allocations: 170.5 kB / 445.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.4989, allocations: 19.72 kB / 445.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.4989, allocations: 0 / 445.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4991, allocations: 323.5 kB / 446.2 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/0.4992, allocations: 32 kB / 446.3 MB, free: 6.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.4993, allocations: 45.7 kB / 446.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4994, allocations: 43.98 kB / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4994, allocations: 0 / 446.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003296/0.4998, allocations: 125.6 kB / 446.5 MB, free: 6.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.4998, allocations: 33.7 kB / 446.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4999, allocations: 7.984 kB / 446.5 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4999, allocations: 3.984 kB / 446.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.5, allocations: 12 kB / 446.5 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.988e-05/0.5001, allocations: 4 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.5002, allocations: 4 kB / 446.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5002, allocations: 7.984 kB / 446.5 MB, free: 6.199 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.32e-05/0.5003, allocations: 113 kB / 446.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002257/0.5006, allocations: 105.8 kB / 446.8 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.5006, allocations: 11.86 kB / 446.8 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.5009, allocations: 127.3 kB / 446.9 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.501, allocations: 4 kB / 446.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.501, allocations: 0 / 446.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.501, allocations: 3.984 kB / 446.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.5016, allocations: 383.8 kB / 447.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5016, allocations: 0 / 447.3 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.5017, allocations: 12 kB / 447.3 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.5017, allocations: 8.016 kB / 447.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.5017, allocations: 0 / 447.3 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.5017, allocations: 4 kB / 447.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5018, allocations: 0 / 447.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.5021, allocations: 209.9 kB / 447.5 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.5022, allocations: 100.9 kB / 447.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.5022, allocations: 8 kB / 447.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5023, allocations: 7.938 kB / 447.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.5024, allocations: 7.984 kB / 447.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.5024, allocations: 4 kB / 447.6 MB, free: 5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.5026, allocations: 143.2 kB / 447.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5026, allocations: 0 / 447.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.503, allocations: 47.92 kB / 447.8 MB, free: 4.812 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.001569/0.5046, allocations: 1.091 MB / 448.9 MB, free: 3.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.505, allocations: 159.3 kB / 449.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.505, allocations: 4 kB / 449.1 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.276e-05/0.5051, allocations: 28 kB / 449.1 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.5055, allocations: 20.98 kB / 449.1 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.5062, allocations: 269.8 kB / 449.4 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.5066, allocations: 0.7198 MB / 450.1 MB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/0.5067, allocations: 31.42 kB / 450.1 MB, free: 2.445 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5067, allocations: 4 kB / 450.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.61/3.117, allocations: 2.557 MB / 452.7 MB, free: 15.88 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat