Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test80",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.01/0.01, allocations: 174.9 kB / 15.12 MB, free: 5.934 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.842/1.842, allocations: 194.5 MB / 210.3 MB, free: 8.793 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.002005/0.002005, allocations: 116.6 kB / 255.6 MB, free: 11.41 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.3571/0.3571, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004858, allocations: 12.75 kB / 406.3 MB, free: 52.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 54.87 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.2654, allocations: 82.19 MB / 0.5306 GB, free: 1.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.2657, allocations: 71.97 kB / 0.5307 GB, free: 0.9648 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$t_new.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$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. [/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$t_new_2.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$t_new_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.31/0.5757, allocations: 5.359 MB / 0.5359 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5757, allocations: 0 / 0.5359 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.5758, allocations: 2.219 kB / 0.5359 GB, free: 83 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.0007911/0.5766, allocations: 0.5753 MB / 0.5365 GB, free: 82.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5766, allocations: 9.781 kB / 0.5365 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.5767, allocations: 37.42 kB / 0.5365 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.5768, allocations: 16.56 kB / 0.5365 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.5773, allocations: 235.9 kB / 0.5368 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.5773, allocations: 4.188 kB / 0.5368 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.5773, allocations: 5.312 kB / 0.5368 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.5776, allocations: 101 kB / 0.5369 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5777, allocations: 9.484 kB / 0.5369 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.5777, allocations: 0.75 kB / 0.5369 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.5777, allocations: 4.781 kB / 0.5369 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.5779, allocations: 36.28 kB / 0.5369 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.5782, allocations: 231.8 kB / 0.5371 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.5786, allocations: 119.1 kB / 0.5372 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.5787, allocations: 1.891 kB / 0.5372 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.579, allocations: 116.1 kB / 0.5374 GB, free: 81.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.737e-06/0.579, allocations: 3.984 kB / 0.5374 GB, free: 81.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007747/0.5798, allocations: 182.8 kB / 0.5375 GB, free: 81.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.5799, allocations: 135 kB / 0.5377 GB, free: 81.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.5802, allocations: 190.2 kB / 0.5378 GB, free: 81.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.5802, allocations: 37.31 kB / 0.5379 GB, free: 81.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/0.5803, allocations: 104.4 kB / 0.538 GB, free: 81.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.5804, allocations: 28.52 kB / 0.538 GB, free: 81.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.5804, allocations: 5.438 kB / 0.538 GB, free: 81.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.5805, allocations: 330.6 kB / 0.5383 GB, free: 81.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.5807, allocations: 47.67 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.5809, allocations: 92.3 kB / 0.5385 GB, free: 80.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.5812, allocations: 119.2 kB / 0.5386 GB, free: 80.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5813, allocations: 5.75 kB / 0.5386 GB, free: 80.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006736/0.5819, allocations: 252.9 kB / 0.5388 GB, free: 80.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.367e-05/0.582, allocations: 67.48 kB / 0.5389 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.582, allocations: 1.188 kB / 0.5389 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.5821, allocations: 1.156 kB / 0.5389 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.5823, allocations: 21.34 kB / 0.5389 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.5823, allocations: 6.969 kB / 0.5389 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.5825, allocations: 22.56 kB / 0.5389 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.117e-05/0.5825, allocations: 15.48 kB / 0.539 GB, free: 80.71 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001685/0.5827, allocations: 136.4 kB / 0.5391 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.5828, allocations: 15.64 kB / 0.5391 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/0.5834, allocations: 161.8 kB / 0.5393 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5834, allocations: 4.969 kB / 0.5393 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5834, allocations: 0.9062 kB / 0.5393 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5834, allocations: 8.422 kB / 0.5393 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.5837, allocations: 218.2 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5837, allocations: 1.156 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.5838, allocations: 10.5 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.5838, allocations: 2.5 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.5838, allocations: 4.703 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5839, allocations: 1.469 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5839, allocations: 3.938 kB / 0.5395 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.5844, allocations: 207.4 kB / 0.5397 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5845, allocations: 106.8 kB / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.5846, allocations: 6.25 kB / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.5847, allocations: 6.547 kB / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.5848, allocations: 13.36 kB / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.5848, allocations: 5.531 kB / 0.5398 GB, free: 80.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002299/0.5851, allocations: 152.7 kB / 0.54 GB, free: 80.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5851, allocations: 4 kB / 0.54 GB, free: 80.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.5856, allocations: 76.22 kB / 0.54 GB, free: 80.02 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.002728/0.5884, allocations: 1.401 MB / 0.5414 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007416/0.5891, allocations: 270.6 kB / 0.5417 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.5892, allocations: 4.125 kB / 0.5417 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.5894, allocations: 49.47 kB / 0.5417 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.5899, allocations: 37.94 kB / 0.5418 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5912, allocations: 1.021 MB / 0.5428 GB, free: 77.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.5915, allocations: 0.7191 MB / 0.5435 GB, free: 77.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.5916, allocations: 25.47 kB / 0.5435 GB, free: 77.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.5918, allocations: 51.14 kB / 0.5435 GB, free: 77.14 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5918, allocations: 0 / 0.5435 GB, free: 77.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.6228, allocations: 4.538 MB / 0.548 GB, free: 75.27 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.6232, allocations: 212.2 kB / 0.5482 GB, free: 75.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.142, allocations: 0 / 0.5482 GB, free: 75.04 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat does not exist to compare? outputFormat=mat