Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test19",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.01324/0.01324, allocations: 175.8 kB / 15.12 MB, free: 5.98 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.273/2.273, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002091/0.00209, allocations: 120.5 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.2841/0.2841, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 14.34 kB / 406.3 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.09869, allocations: 54.88 MB / 461.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.2661, allocations: 82.12 MB / 0.5305 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004239/0.2666, allocations: 71.97 kB / 0.5306 GB, free: 0.8789 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.3827/0.6493, allocations: 4.479 MB / 0.535 GB, free: 82.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6494, allocations: 0 / 0.535 GB, free: 82.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.6494, allocations: 2.094 kB / 0.535 GB, free: 82.67 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.0005961/0.65, allocations: 475 kB / 0.5354 GB, free: 82.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.6501, allocations: 9.312 kB / 0.5354 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.6501, allocations: 35.14 kB / 0.5355 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.6502, allocations: 10.7 kB / 0.5355 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.6505, allocations: 208.9 kB / 0.5357 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6505, allocations: 2.844 kB / 0.5357 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.6506, allocations: 4.375 kB / 0.5357 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.6508, allocations: 62.73 kB / 0.5358 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6508, allocations: 0.7031 kB / 0.5358 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.6508, allocations: 3.953 kB / 0.5358 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6508, allocations: 0.9688 kB / 0.5358 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.651, allocations: 23.62 kB / 0.5358 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.6515, allocations: 307.3 kB / 0.5361 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.6517, allocations: 65.33 kB / 0.5361 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.6518, allocations: 4.562 kB / 0.5361 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.652, allocations: 73.12 kB / 0.5362 GB, free: 81.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.652, allocations: 1.25 kB / 0.5362 GB, free: 81.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008255/0.6528, allocations: 191.1 kB / 0.5364 GB, free: 81.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.6529, allocations: 53.19 kB / 0.5364 GB, free: 81.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.6531, allocations: 165 kB / 0.5366 GB, free: 81.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.6531, allocations: 31.86 kB / 0.5366 GB, free: 81.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.6532, allocations: 101.5 kB / 0.5367 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.6533, allocations: 26.75 kB / 0.5368 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.6533, allocations: 1.344 kB / 0.5368 GB, free: 81.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.6534, allocations: 323.2 kB / 0.5371 GB, free: 80.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.6536, allocations: 41.03 kB / 0.5371 GB, free: 80.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.6537, allocations: 58.84 kB / 0.5372 GB, free: 80.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.6539, allocations: 75.72 kB / 0.5372 GB, free: 80.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6539, allocations: 0 / 0.5372 GB, free: 80.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000464/0.6544, allocations: 179 kB / 0.5374 GB, free: 80.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.6545, allocations: 38.03 kB / 0.5374 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6545, allocations: 1.734 kB / 0.5374 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.6545, allocations: 5.188 kB / 0.5374 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.6547, allocations: 15.39 kB / 0.5375 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.6547, allocations: 1.797 kB / 0.5375 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6548, allocations: 5.375 kB / 0.5375 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.6548, allocations: 8.703 kB / 0.5375 GB, free: 80.73 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.0001221/0.655, allocations: 122.2 kB / 0.5376 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.655, allocations: 17.92 kB / 0.5376 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/0.6554, allocations: 135.3 kB / 0.5377 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.6554, allocations: 1.812 kB / 0.5377 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6554, allocations: 0 / 0.5377 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6555, allocations: 2.062 kB / 0.5377 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.6561, allocations: 407.7 kB / 0.5381 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6561, allocations: 1.531 kB / 0.5381 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.523e-05/0.6562, allocations: 13.16 kB / 0.5381 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.6562, allocations: 4.969 kB / 0.5382 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.6563, allocations: 8 kB / 0.5382 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.6563, allocations: 0 / 0.5382 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6563, allocations: 2.141 kB / 0.5382 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.6566, allocations: 221.8 kB / 0.5384 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.6567, allocations: 103.7 kB / 0.5385 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.611e-05/0.6568, allocations: 6.891 kB / 0.5385 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.6569, allocations: 7.766 kB / 0.5385 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.657, allocations: 7.688 kB / 0.5385 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.657, allocations: 7.109 kB / 0.5385 GB, free: 79.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.6572, allocations: 136.7 kB / 0.5386 GB, free: 79.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6572, allocations: 0 / 0.5386 GB, free: 79.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000455/0.6576, allocations: 44.36 kB / 0.5387 GB, free: 79.86 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.001708/0.6594, allocations: 1.157 MB / 0.5398 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004392/0.6598, allocations: 169.8 kB / 0.54 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6598, allocations: 0 / 0.54 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.66, allocations: 39.48 kB / 0.54 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.6604, allocations: 20.14 kB / 0.54 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.6614, allocations: 0.6341 MB / 0.5406 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.6616, allocations: 0.7094 MB / 0.5413 GB, free: 77.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.633e-05/0.6617, allocations: 19.7 kB / 0.5414 GB, free: 77.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.251e-05/0.6618, allocations: 31.33 kB / 0.5414 GB, free: 77.57 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6618, allocations: 0.9375 kB / 0.5414 GB, free: 77.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.6915, allocations: 2.971 MB / 0.5443 GB, free: 76.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.6919, allocations: 224.8 kB / 0.5445 GB, free: 76.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.164, allocations: 0 / 0.5445 GB, free: 76.62 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat