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.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.545e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3377, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4799, allocations: 81.4 MB / 439.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4803, allocations: 75.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.01998/0.5003, allocations: 4.525 MB / 444.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5003, allocations: 0 / 444.1 MB, free: 8.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5003, allocations: 4 kB / 444.1 MB, free: 8.824 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.0005932/0.5009, allocations: 459.6 kB / 444.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.501, allocations: 8.031 kB / 444.6 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.5011, allocations: 15.84 kB / 444.6 MB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.5014, allocations: 207.7 kB / 444.8 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.5015, allocations: 4 kB / 444.8 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.5015, allocations: 4 kB / 444.8 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.312e-05/0.5016, allocations: 15.98 kB / 444.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5017, allocations: 53.67 kB / 444.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5018, allocations: 3.953 kB / 444.9 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5018, allocations: 4 kB / 444.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5018, allocations: 0 / 444.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.5022, allocations: 297.2 kB / 445.2 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.5024, allocations: 54.69 kB / 445.2 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.5025, allocations: 16.98 kB / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.5025, allocations: 0 / 445.2 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.5027, allocations: 67.34 kB / 445.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.5027, allocations: 4 kB / 445.3 MB, free: 7.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005993/0.5033, allocations: 149.3 kB / 445.5 MB, free: 7.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5033, allocations: 51.41 kB / 445.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.5036, allocations: 169.2 kB / 445.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.5036, allocations: 25.7 kB / 445.7 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.735e-05/0.5037, allocations: 166.5 kB / 445.9 MB, free: 6.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.5037, allocations: 19.72 kB / 445.9 MB, free: 6.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.5038, allocations: 3.938 kB / 445.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5039, allocations: 327.5 kB / 446.2 MB, free: 6.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.504, allocations: 28 kB / 446.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.5041, allocations: 53.64 kB / 446.3 MB, free: 6.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.5042, allocations: 39.98 kB / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5043, allocations: 0 / 446.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003345/0.5046, allocations: 121.7 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/0.5047, allocations: 33.7 kB / 446.5 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5047, allocations: 12.02 kB / 446.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5047, allocations: 7.969 kB / 446.5 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.5049, allocations: 15.94 kB / 446.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5049, allocations: 4 kB / 446.5 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.505, allocations: 4 kB / 446.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.505, allocations: 11.98 kB / 446.5 MB, free: 6.191 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 8.908e-05/0.5051, allocations: 105 kB / 446.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00022/0.5054, allocations: 97.5 kB / 446.7 MB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.5054, allocations: 19.84 kB / 446.8 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.5057, allocations: 106.3 kB / 446.9 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5057, allocations: 3.938 kB / 446.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5058, allocations: 0 / 446.9 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.5058, allocations: 4 kB / 446.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.5063, allocations: 379.7 kB / 447.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5064, allocations: 4 kB / 447.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.5065, allocations: 15.94 kB / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.5065, allocations: 0 / 447.3 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5065, allocations: 8.031 kB / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5065, allocations: 0 / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5065, allocations: 0 / 447.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.5068, allocations: 209.9 kB / 447.5 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.5069, allocations: 97 kB / 447.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.507, allocations: 7.984 kB / 447.6 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5071, allocations: 4 kB / 447.6 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.5072, allocations: 8 kB / 447.6 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.5072, allocations: 7.984 kB / 447.6 MB, free: 5.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.5073, allocations: 131.1 kB / 447.7 MB, free: 4.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5074, allocations: 4 kB / 447.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004092/0.5078, allocations: 35.98 kB / 447.8 MB, free: 4.855 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.001544/0.5093, allocations: 1.097 MB / 448.9 MB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.5097, allocations: 167.3 kB / 449 MB, free: 3.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5097, allocations: 4.062 kB / 449 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.5098, allocations: 27.94 kB / 449 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.5102, allocations: 19.84 kB / 449.1 MB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.5109, allocations: 237.7 kB / 449.3 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5112, allocations: 0.708 MB / 450 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.5113, allocations: 35.42 kB / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5114, allocations: 0 / 450 MB, free: 2.512 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.567/3.078, allocations: 2.421 MB / 452.5 MB, free: 88 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat