Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test5",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.01002/0.01001, allocations: 176.1 kB / 15.12 MB, free: 5.984 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.012/2.012, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.00199/0.00199, allocations: 116.7 kB / 255.6 MB, free: 10.24 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.3459/0.3459, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.00048, allocations: 16.17 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1008, allocations: 54.88 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.2809, allocations: 82.19 MB / 0.5306 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.2813, allocations: 71.97 kB / 0.5307 GB, free: 0.8164 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.3649/0.6462, allocations: 5.173 MB / 0.5357 GB, free: 83.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.6462, allocations: 0 / 0.5357 GB, free: 83.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.6463, allocations: 6.391 kB / 0.5357 GB, free: 83.01 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006982/0.647, allocations: 0.4939 MB / 0.5362 GB, free: 82.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.647, allocations: 8.969 kB / 0.5362 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.6471, allocations: 33.16 kB / 0.5363 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.6472, allocations: 15.44 kB / 0.5363 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.6476, allocations: 222.1 kB / 0.5365 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.6476, allocations: 3.781 kB / 0.5365 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.6477, allocations: 8.391 kB / 0.5365 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.6479, allocations: 74.34 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.6479, allocations: 1.062 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.648, allocations: 1.922 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.648, allocations: 1.031 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.6482, allocations: 41.36 kB / 0.5366 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.6488, allocations: 357.1 kB / 0.5369 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.6492, allocations: 82.16 kB / 0.537 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.6492, allocations: 1.375 kB / 0.537 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.6494, allocations: 84.11 kB / 0.5371 GB, free: 81.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.405e-06/0.6494, allocations: 4 kB / 0.5371 GB, free: 81.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009842/0.6504, allocations: 241.3 kB / 0.5373 GB, free: 81.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.6505, allocations: 57.36 kB / 0.5374 GB, free: 81.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.6509, allocations: 228.6 kB / 0.5376 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.6509, allocations: 30.92 kB / 0.5376 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.942e-05/0.651, allocations: 109.1 kB / 0.5377 GB, free: 81.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.6511, allocations: 36.81 kB / 0.5378 GB, free: 81.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.6511, allocations: 5.75 kB / 0.5378 GB, free: 81.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.6512, allocations: 331.8 kB / 0.5381 GB, free: 81.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.6514, allocations: 49.91 kB / 0.5381 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.6516, allocations: 67.52 kB / 0.5382 GB, free: 81.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.6518, allocations: 86.55 kB / 0.5383 GB, free: 81.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6518, allocations: 5.422 kB / 0.5383 GB, free: 81.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005712/0.6524, allocations: 214 kB / 0.5385 GB, free: 81.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.6524, allocations: 42.78 kB / 0.5385 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6525, allocations: 3.938 kB / 0.5385 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6525, allocations: 2.453 kB / 0.5386 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.6527, allocations: 20.78 kB / 0.5386 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6527, allocations: 2.125 kB / 0.5386 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.6528, allocations: 4.984 kB / 0.5386 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.6529, allocations: 8.656 kB / 0.5386 GB, free: 81.03 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 (14): * Single equations (assignments): 13 * 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.0001635/0.653, allocations: 142.1 kB / 0.5387 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/0.6531, allocations: 19.83 kB / 0.5387 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.6536, allocations: 168.7 kB / 0.5389 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.6536, allocations: 3.922 kB / 0.5389 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6537, allocations: 0 / 0.5389 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6537, allocations: 0 / 0.5389 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008828/0.6546, allocations: 493.5 kB / 0.5394 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.6546, allocations: 1.5 kB / 0.5394 GB, free: 80.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.6547, allocations: 25.56 kB / 0.5394 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6547, allocations: 1.219 kB / 0.5394 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.6548, allocations: 5.094 kB / 0.5394 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6548, allocations: 1.469 kB / 0.5394 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6548, allocations: 1.438 kB / 0.5394 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.6552, allocations: 267.8 kB / 0.5397 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6554, allocations: 109.2 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.6554, allocations: 8.453 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6556, allocations: 4.797 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6556, allocations: 10.41 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.6557, allocations: 6.016 kB / 0.5398 GB, free: 80.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.656, allocations: 180 kB / 0.54 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.656, allocations: 1.375 kB / 0.54 GB, free: 80.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004652/0.6564, allocations: 55.81 kB / 0.54 GB, free: 80.16 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 (13): * Single equations (assignments): 11 * 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.001771/0.6582, allocations: 1.194 MB / 0.5412 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.6588, allocations: 201.4 kB / 0.5414 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6588, allocations: 1.188 kB / 0.5414 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.659, allocations: 50.73 kB / 0.5414 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.6594, allocations: 23.52 kB / 0.5415 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6607, allocations: 0.75 MB / 0.5422 GB, free: 78.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.6609, allocations: 0.729 MB / 0.5429 GB, free: 77.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.6611, allocations: 19.66 kB / 0.5429 GB, free: 77.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.6612, allocations: 47.28 kB / 0.543 GB, free: 77.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6612, allocations: 1.25 kB / 0.543 GB, free: 77.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.6874, allocations: 3.675 MB / 0.5466 GB, free: 76.44 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.6877, allocations: 214.4 kB / 0.5468 GB, free: 76.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/3.317, allocations: 0 / 0.5468 GB, free: 76.2 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat