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.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.805e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3476, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.4953, allocations: 81.39 MB / 439.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4957, allocations: 71.97 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.01993/0.5156, allocations: 4.595 MB / 444.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5157, allocations: 0 / 444.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.5157, allocations: 4 kB / 444.2 MB, free: 8.688 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.0005904/0.5163, allocations: 467.5 kB / 444.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5163, allocations: 8.031 kB / 444.7 MB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.5164, allocations: 11.91 kB / 444.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.5168, allocations: 210.8 kB / 444.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.5168, allocations: 0 / 444.9 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.5169, allocations: 8 kB / 444.9 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.509e-05/0.517, allocations: 19.98 kB / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5171, allocations: 49.69 kB / 445 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.5171, allocations: 3.953 kB / 445 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.5172, allocations: 3.984 kB / 445 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5172, allocations: 0 / 445 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.5177, allocations: 297.3 kB / 445.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.5179, allocations: 54.69 kB / 445.3 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.5179, allocations: 20.98 kB / 445.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.518, allocations: 0 / 445.3 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5181, allocations: 67.34 kB / 445.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.5181, allocations: 0 / 445.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000599/0.5187, allocations: 153.2 kB / 445.5 MB, free: 7.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.5188, allocations: 59.41 kB / 445.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.519, allocations: 170.5 kB / 445.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.5191, allocations: 29.7 kB / 445.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.5192, allocations: 166.6 kB / 446 MB, free: 6.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.5192, allocations: 23.64 kB / 446 MB, free: 6.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.5192, allocations: 3.938 kB / 446 MB, free: 6.691 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5194, allocations: 315.5 kB / 446.3 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/0.5195, allocations: 32 kB / 446.3 MB, free: 6.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.5196, allocations: 54.97 kB / 446.4 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5197, allocations: 43.92 kB / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5198, allocations: 0 / 446.4 MB, free: 6.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003231/0.5201, allocations: 125.6 kB / 446.5 MB, free: 6.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.5202, allocations: 41.69 kB / 446.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5202, allocations: 3.953 kB / 446.6 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.5202, allocations: 4 kB / 446.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5203, allocations: 15.94 kB / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5204, allocations: 0 / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.033e-05/0.5205, allocations: 12.11 kB / 446.6 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.5205, allocations: 7.938 kB / 446.6 MB, free: 6.023 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.777e-05/0.5206, allocations: 105 kB / 446.7 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002316/0.5208, allocations: 101.5 kB / 446.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.5209, allocations: 15.77 kB / 446.8 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.5212, allocations: 107.5 kB / 446.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5212, allocations: 192 / 446.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5212, allocations: 4 kB / 447 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5212, allocations: 7.984 kB / 447 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.5218, allocations: 384 kB / 447.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5218, allocations: 0 / 447.3 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.5219, allocations: 11.94 kB / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.5219, allocations: 4 kB / 447.4 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.5219, allocations: 3.984 kB / 447.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5219, allocations: 0 / 447.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.522, allocations: 0 / 447.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.5223, allocations: 225.8 kB / 447.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.5224, allocations: 97 kB / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.5224, allocations: 0 / 447.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.5226, allocations: 4 kB / 447.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.5226, allocations: 7.984 kB / 447.7 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.5226, allocations: 8 kB / 447.7 MB, free: 4.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001608/0.5228, allocations: 139.9 kB / 447.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5228, allocations: 0 / 447.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003756/0.5232, allocations: 39.94 kB / 447.9 MB, free: 4.668 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.001616/0.5248, allocations: 1.104 MB / 449 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.5252, allocations: 159.3 kB / 449.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5252, allocations: 0 / 449.1 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.5253, allocations: 27.94 kB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.5256, allocations: 29.05 kB / 449.2 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.5263, allocations: 250 kB / 449.4 MB, free: 3.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5267, allocations: 0.7158 MB / 450.1 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.5268, allocations: 31.42 kB / 450.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5268, allocations: 0 / 450.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/3.036, allocations: 2.491 MB / 452.7 MB, free: 15.81 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat