Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test34",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.009834/0.009834, allocations: 176 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 2.046/2.046, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001977/0.001977, allocations: 120.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.2527/0.2527, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004707, allocations: 17.5 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09838, allocations: 54.88 MB / 461.2 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.2458, allocations: 82.14 MB / 0.5306 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.2461, allocations: 75.97 kB / 0.5306 GB, free: 0.8477 MB / 378.7 MB [/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$t_new.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$t_new.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$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.3151/0.5613, allocations: 4.582 MB / 0.5351 GB, free: 82.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.5613, allocations: 0 / 0.5351 GB, free: 82.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.5613, allocations: 1.281 kB / 0.5351 GB, free: 82.74 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.0005879/0.5619, allocations: 478.6 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.562, allocations: 8.625 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.562, allocations: 34.03 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.5621, allocations: 10.72 kB / 0.5356 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.5624, allocations: 207.8 kB / 0.5358 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5625, allocations: 9.312 kB / 0.5358 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.561e-05/0.5625, allocations: 5.109 kB / 0.5358 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.5627, allocations: 58.84 kB / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.5627, allocations: 0 / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.5628, allocations: 5.562 kB / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.5628, allocations: 0.875 kB / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.5629, allocations: 24 kB / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.5634, allocations: 316.1 kB / 0.5362 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.5636, allocations: 64.17 kB / 0.5363 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.5637, allocations: 1.219 kB / 0.5363 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.5639, allocations: 73.41 kB / 0.5364 GB, free: 81.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.5639, allocations: 0 / 0.5364 GB, free: 81.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007909/0.5647, allocations: 185.5 kB / 0.5365 GB, free: 81.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.5647, allocations: 53.25 kB / 0.5366 GB, free: 81.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.565, allocations: 166.7 kB / 0.5367 GB, free: 81.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.565, allocations: 27.72 kB / 0.5368 GB, free: 81.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.5651, allocations: 107.4 kB / 0.5369 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.5651, allocations: 28.28 kB / 0.5369 GB, free: 81.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.5652, allocations: 2.031 kB / 0.5369 GB, free: 81.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.5653, allocations: 320.8 kB / 0.5372 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.5654, allocations: 42.09 kB / 0.5372 GB, free: 80.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.5656, allocations: 54.44 kB / 0.5373 GB, free: 80.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.5657, allocations: 79.19 kB / 0.5374 GB, free: 80.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5658, allocations: 0 / 0.5374 GB, free: 80.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004447/0.5662, allocations: 184.5 kB / 0.5375 GB, free: 80.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/0.5663, allocations: 40.75 kB / 0.5376 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.5663, allocations: 1.703 kB / 0.5376 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5663, allocations: 5.188 kB / 0.5376 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.5665, allocations: 19.98 kB / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.5665, allocations: 1.031 kB / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.888e-05/0.5666, allocations: 4.812 kB / 0.5376 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.5666, allocations: 5.578 kB / 0.5376 GB, free: 80.79 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 () * Number of clocked 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 0.0001185/0.5668, allocations: 130.9 kB / 0.5377 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.5668, allocations: 11.73 kB / 0.5378 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.5672, allocations: 125.7 kB / 0.5379 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.5672, allocations: 5.469 kB / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5673, allocations: 0 / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5673, allocations: 0.8438 kB / 0.5379 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/0.5681, allocations: 415.3 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.5682, allocations: 0.6562 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.371e-05/0.5683, allocations: 14.34 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5683, allocations: 1.312 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.5683, allocations: 6.781 kB / 0.5383 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.5683, allocations: 9.094 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5683, allocations: 0.6562 kB / 0.5383 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.5688, allocations: 222.1 kB / 0.5385 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.5689, allocations: 99.72 kB / 0.5386 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.569, allocations: 2.125 kB / 0.5386 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.5692, allocations: 11.77 kB / 0.5386 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.5693, allocations: 6.094 kB / 0.5386 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.5693, allocations: 4.141 kB / 0.5386 GB, free: 80.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.5695, allocations: 137.5 kB / 0.5388 GB, free: 79.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5695, allocations: 0.8125 kB / 0.5388 GB, free: 79.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006912/0.5702, allocations: 40.48 kB / 0.5388 GB, free: 79.93 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) * Number of clocked states: 0 () * 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.002268/0.5725, allocations: 1.167 MB / 0.54 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005505/0.5731, allocations: 166.9 kB / 0.5401 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.5731, allocations: 0 / 0.5401 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.5733, allocations: 35.52 kB / 0.5401 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.5738, allocations: 21.12 kB / 0.5402 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.575, allocations: 0.6355 MB / 0.5408 GB, free: 78.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.5753, allocations: 0.7055 MB / 0.5415 GB, free: 77.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.5754, allocations: 15.75 kB / 0.5415 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5756, allocations: 38.8 kB / 0.5415 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.944e-06/0.5756, allocations: 0 / 0.5415 GB, free: 77.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08225/0.6578, allocations: 2.981 MB / 0.5444 GB, free: 76.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.6581, allocations: 216.6 kB / 0.5446 GB, free: 76.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.186, allocations: 0 / 0.5446 GB, free: 76.64 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat