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.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.702e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3372, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.4836, allocations: 81.39 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4839, allocations: 71.95 kB / 439.6 MB, free: 13.27 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.02024/0.5042, allocations: 4.599 MB / 444.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5042, allocations: 0 / 444.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.5042, allocations: 3.938 kB / 444.2 MB, free: 8.664 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.0005951/0.5048, allocations: 461.5 kB / 444.7 MB, free: 8.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5049, allocations: 8.031 kB / 444.7 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.5049, allocations: 7.906 kB / 444.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.5053, allocations: 210.8 kB / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.5054, allocations: 0 / 444.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.5054, allocations: 12 kB / 444.9 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.847e-05/0.5055, allocations: 15.98 kB / 444.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.5057, allocations: 49.69 kB / 445 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5057, allocations: 3.953 kB / 445 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5057, allocations: 4 kB / 445 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.5057, allocations: 0 / 445 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.5062, allocations: 293.4 kB / 445.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.5064, allocations: 58.62 kB / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.5065, allocations: 16.98 kB / 445.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.5065, allocations: 3.938 kB / 445.3 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.5067, allocations: 75.34 kB / 445.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5067, allocations: 0 / 445.4 MB, free: 7.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.5073, allocations: 153.2 kB / 445.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5074, allocations: 55.41 kB / 445.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.5076, allocations: 178.4 kB / 445.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.5077, allocations: 25.7 kB / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.5078, allocations: 162.6 kB / 446 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.5078, allocations: 27.64 kB / 446 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.5078, allocations: 0 / 446 MB, free: 6.672 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.508, allocations: 319.5 kB / 446.3 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.562e-05/0.5081, allocations: 28 kB / 446.3 MB, free: 6.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.5082, allocations: 54.97 kB / 446.4 MB, free: 6.266 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.5083, allocations: 43.92 kB / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.5084, allocations: 0 / 446.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003461/0.5087, allocations: 129.6 kB / 446.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.031e-05/0.5088, allocations: 37.69 kB / 446.6 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.5088, allocations: 3.953 kB / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5088, allocations: 0 / 446.6 MB, free: 6.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.509, allocations: 15.94 kB / 446.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.509, allocations: 4 kB / 446.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.5091, allocations: 12.02 kB / 446.6 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.5091, allocations: 8 kB / 446.6 MB, free: 6.004 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.465e-05/0.5093, allocations: 107 kB / 446.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002509/0.5095, allocations: 93.58 kB / 446.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.5096, allocations: 15.77 kB / 446.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.5099, allocations: 107.5 kB / 446.9 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.5099, allocations: 7.984 kB / 447 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5099, allocations: 0 / 447 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5099, allocations: 4 kB / 447 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.5105, allocations: 383.8 kB / 447.3 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5106, allocations: 4 kB / 447.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.5106, allocations: 8 kB / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5107, allocations: 0 / 447.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5107, allocations: 7.922 kB / 447.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5107, allocations: 4.422 kB / 447.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5107, allocations: 0 / 447.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.511, allocations: 229.8 kB / 447.6 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.5111, allocations: 93 kB / 447.7 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.5112, allocations: 11.94 kB / 447.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5113, allocations: 0 / 447.7 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5114, allocations: 7.984 kB / 447.7 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.5114, allocations: 8 kB / 447.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.5116, allocations: 140 kB / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5116, allocations: 0 / 447.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004134/0.512, allocations: 39.92 kB / 447.9 MB, free: 4.645 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.001606/0.5136, allocations: 1.096 MB / 449 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.514, allocations: 155.3 kB / 449.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.514, allocations: 0 / 449.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.5141, allocations: 31.94 kB / 449.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.5144, allocations: 20.92 kB / 449.2 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.5152, allocations: 254 kB / 449.4 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5155, allocations: 0.7119 MB / 450.1 MB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.5156, allocations: 35.42 kB / 450.2 MB, free: 2.297 MB / 378.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5157, allocations: 0 / 450.2 MB, free: 2.297 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.488/3.004, allocations: 2.494 MB / 452.7 MB, free: 15.8 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat