Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009775/0.009775, allocations: 173.4 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.979/1.979, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001975/0.001975, allocations: 124.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2794/0.2794, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004654, allocations: 15.67 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.2563, allocations: 82.01 MB / 0.5304 GB, free: 1.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.2567, allocations: 75.89 kB / 0.5305 GB, free: 0.9961 MB / 378.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getTableTimeTmax. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3848/0.6415, allocations: 5.963 MB / 0.5363 GB, free: 82.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6415, allocations: 9.188 kB / 0.5363 GB, free: 82.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.01e-05/0.6416, allocations: 5.031 kB / 0.5363 GB, free: 82.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001316/0.6429, allocations: 0.8189 MB / 0.5371 GB, free: 82.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.643, allocations: 10.25 kB / 0.5371 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.643, allocations: 35.08 kB / 0.5372 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.6432, allocations: 52.69 kB / 0.5372 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.6444, allocations: 461.5 kB / 0.5377 GB, free: 81.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.6444, allocations: 11.34 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.6445, allocations: 8.906 kB / 0.5377 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.6448, allocations: 90.45 kB / 0.5378 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6448, allocations: 1.219 kB / 0.5378 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.6448, allocations: 3.438 kB / 0.5378 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.6448, allocations: 1.469 kB / 0.5378 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.645, allocations: 33.78 kB / 0.5378 GB, free: 81.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007399/0.6458, allocations: 410.4 kB / 0.5382 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.6463, allocations: 110.5 kB / 0.5383 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.6463, allocations: 1 kB / 0.5383 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.6466, allocations: 117.9 kB / 0.5384 GB, free: 81.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.417e-06/0.6466, allocations: 0 / 0.5384 GB, free: 81.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000947/0.6476, allocations: 216.5 kB / 0.5386 GB, free: 81.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.6477, allocations: 86.61 kB / 0.5387 GB, free: 81.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.65, allocations: 0.9064 MB / 0.5396 GB, free: 81.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.644e-05/0.6501, allocations: 35.86 kB / 0.5396 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.6504, allocations: 233.5 kB / 0.5399 GB, free: 81.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.741e-05/0.6505, allocations: 30.83 kB / 0.5399 GB, free: 81.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.6505, allocations: 5.375 kB / 0.5399 GB, free: 81.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.6507, allocations: 364.1 kB / 0.5402 GB, free: 80.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.6509, allocations: 63.2 kB / 0.5403 GB, free: 80.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.6512, allocations: 93.61 kB / 0.5404 GB, free: 80.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.6515, allocations: 131.6 kB / 0.5405 GB, free: 80.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.6516, allocations: 1.188 kB / 0.5405 GB, free: 80.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009811/0.6525, allocations: 321.4 kB / 0.5408 GB, free: 80.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.365e-05/0.6526, allocations: 70.34 kB / 0.5409 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6526, allocations: 1.438 kB / 0.5409 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6527, allocations: 1.312 kB / 0.5409 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.6529, allocations: 29.06 kB / 0.5409 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.6529, allocations: 6.781 kB / 0.5409 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.6533, allocations: 28.48 kB / 0.541 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.6533, allocations: 9.438 kB / 0.541 GB, free: 80.45 MB / 378.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0004024/0.6537, allocations: 218 kB / 0.5412 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6539, allocations: 47.97 kB / 0.5412 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/0.6545, allocations: 210 kB / 0.5414 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6545, allocations: 9.734 kB / 0.5414 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6546, allocations: 5.547 kB / 0.5414 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6546, allocations: 0 / 0.5414 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.6551, allocations: 373.1 kB / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6551, allocations: 0 / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.201e-05/0.6552, allocations: 13.67 kB / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.6552, allocations: 3.938 kB / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.6552, allocations: 2.688 kB / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6552, allocations: 1.531 kB / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6552, allocations: 0 / 0.5418 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.6558, allocations: 237.8 kB / 0.542 GB, free: 79.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.6562, allocations: 198.4 kB / 0.5422 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.6563, allocations: 4.125 kB / 0.5422 GB, free: 79.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.6565, allocations: 13.2 kB / 0.5422 GB, free: 79.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.6565, allocations: 16.92 kB / 0.5423 GB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.6566, allocations: 8.125 kB / 0.5423 GB, free: 79.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001446/0.658, allocations: 0.7132 MB / 0.543 GB, free: 79.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6581, allocations: 0 / 0.543 GB, free: 79.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007439/0.6588, allocations: 110 kB / 0.5431 GB, free: 79.46 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002523/0.6614, allocations: 1.298 MB / 0.5443 GB, free: 78.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.6622, allocations: 297.9 kB / 0.5446 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6622, allocations: 4.125 kB / 0.5446 GB, free: 78.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.6624, allocations: 52.62 kB / 0.5447 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006954/0.6631, allocations: 65.12 kB / 0.5447 GB, free: 78.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.6661, allocations: 1.911 MB / 0.5466 GB, free: 76.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.6666, allocations: 0.8474 MB / 0.5474 GB, free: 75.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003251/0.667, allocations: 86.44 kB / 0.5475 GB, free: 75.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6673, allocations: 148 kB / 0.5477 GB, free: 75.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6673, allocations: 0 / 0.5477 GB, free: 75.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/0.7068, allocations: 9.133 MB / 0.5566 GB, free: 69.14 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.707, allocations: 217.8 kB / 0.5568 GB, free: 68.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.702/3.409, allocations: 4.062 kB / 0.5568 GB, free: 68.89 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat