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.Test79.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006196/0.0006197, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3911, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.154/0.5452, allocations: 82.26 MB / 451.6 MB, free: 8.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5456, allocations: 75.97 kB / 451.7 MB, free: 8.16 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new_2.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_2.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_2.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03208/0.5777, allocations: 6.954 MB / 458.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5777, allocations: 0 / 458.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.5777, allocations: 4 kB / 458.7 MB, free: 1.184 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001112/0.5789, allocations: 0.6685 MB / 459.3 MB, free: 452 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.5789, allocations: 8.031 kB / 459.3 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.667e-05/0.579, allocations: 34.56 kB / 459.4 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.153e-05/0.5791, allocations: 23.72 kB / 459.4 MB, free: 376 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006326/0.5798, allocations: 283 kB / 459.7 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.5798, allocations: 8 kB / 459.7 MB, free: 40 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.5799, allocations: 19.94 kB / 459.7 MB, free: 20 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.5803, allocations: 103.3 kB / 459.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5803, allocations: 0 / 459.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.5803, allocations: 0 / 459.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5803, allocations: 4 kB / 459.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.5806, allocations: 47.89 kB / 459.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.5816, allocations: 0.5086 MB / 460.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.5821, allocations: 121.4 kB / 460.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.5821, allocations: 0 / 460.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.5825, allocations: 121.1 kB / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.5825, allocations: 0 / 460.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001554/0.5841, allocations: 395.8 kB / 461 MB, free: 14.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5842, allocations: 77.11 kB / 461.1 MB, free: 14.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.585, allocations: 383.6 kB / 461.4 MB, free: 14.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.5851, allocations: 37.7 kB / 461.5 MB, free: 14.11 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.5852, allocations: 191 kB / 461.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.5853, allocations: 51.3 kB / 461.7 MB, free: 13.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.5853, allocations: 8 kB / 461.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5855, allocations: 322.8 kB / 462 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.5858, allocations: 80.14 kB / 462.1 MB, free: 13.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.5861, allocations: 107.8 kB / 462.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003599/0.5865, allocations: 143.4 kB / 462.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5865, allocations: 0 / 462.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008985/0.5874, allocations: 324.8 kB / 462.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.5875, allocations: 69.27 kB / 462.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5875, allocations: 0 / 462.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.5876, allocations: 4 kB / 462.7 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.5878, allocations: 39.97 kB / 462.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.5879, allocations: 4 kB / 462.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.5881, allocations: 12 kB / 462.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.5882, allocations: 12 kB / 462.8 MB, free: 12.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002893/0.5885, allocations: 169.7 kB / 463 MB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.5886, allocations: 27.62 kB / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.5893, allocations: 228.3 kB / 463.2 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5894, allocations: 4 kB / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5894, allocations: 3.938 kB / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5894, allocations: 0 / 463.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.5908, allocations: 0.6868 MB / 463.9 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5908, allocations: 4 kB / 463.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.591, allocations: 27.98 kB / 463.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.591, allocations: 4 kB / 463.9 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.5911, allocations: 8 kB / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.5911, allocations: 0 / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5911, allocations: 0 / 464 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.5918, allocations: 421.2 kB / 464.4 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.5921, allocations: 137.4 kB / 464.5 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.5922, allocations: 8 kB / 464.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5924, allocations: 7.984 kB / 464.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.5925, allocations: 19.97 kB / 464.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.5925, allocations: 8 kB / 464.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006001/0.5931, allocations: 311 kB / 464.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5931, allocations: 0 / 464.8 MB, free: 10.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006513/0.5938, allocations: 91.86 kB / 464.9 MB, free: 10.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003228/0.597, allocations: 1.758 MB / 466.7 MB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008537/0.5979, allocations: 334.5 kB / 467 MB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.598, allocations: 384 / 467 MB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.5982, allocations: 67.91 kB / 467.1 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.5988, allocations: 52.41 kB / 467.1 MB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.601, allocations: 1.378 MB / 468.5 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.6015, allocations: 0.7711 MB / 469.3 MB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.6017, allocations: 83.41 kB / 469.4 MB, free: 5.895 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6017, allocations: 0 / 469.4 MB, free: 5.895 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/3.193, allocations: 4.969 MB / 474.3 MB, free: 0.9219 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat