Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test75",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.01023/0.01023, allocations: 175.2 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.897/1.897, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002617/0.002617, allocations: 132.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.2732/0.2732, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004812, allocations: 15.91 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 54.87 MB / 461.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.2737, allocations: 82.26 MB / 0.5307 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/0.2742, allocations: 75.97 kB / 0.5307 GB, free: 0.7344 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. [/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.3891/0.6634, allocations: 6.951 MB / 0.5375 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6634, allocations: 0 / 0.5375 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.6634, allocations: 3.469 kB / 0.5375 GB, free: 82.95 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009334/0.6644, allocations: 0.6604 MB / 0.5382 GB, free: 82.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6645, allocations: 9.969 kB / 0.5382 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.6645, allocations: 39.48 kB / 0.5382 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.6646, allocations: 25.56 kB / 0.5383 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.6652, allocations: 279.3 kB / 0.5385 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.6653, allocations: 8.562 kB / 0.5385 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.6653, allocations: 13.8 kB / 0.5385 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.6657, allocations: 104.7 kB / 0.5386 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6657, allocations: 3.984 kB / 0.5386 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.6657, allocations: 0.875 kB / 0.5386 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6657, allocations: 5.281 kB / 0.5386 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.6659, allocations: 49.27 kB / 0.5387 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.6667, allocations: 0.5061 MB / 0.5392 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.6672, allocations: 125 kB / 0.5393 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.6672, allocations: 1.656 kB / 0.5393 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.6676, allocations: 122.2 kB / 0.5394 GB, free: 81.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.816e-06/0.6676, allocations: 1.188 kB / 0.5394 GB, free: 81.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001544/0.6691, allocations: 391.4 kB / 0.5398 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.6692, allocations: 81.39 kB / 0.5399 GB, free: 81.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.67, allocations: 386.6 kB / 0.5402 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.67, allocations: 32.67 kB / 0.5403 GB, free: 81.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.6702, allocations: 148.5 kB / 0.5404 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/0.6703, allocations: 47.53 kB / 0.5405 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.6703, allocations: 6 kB / 0.5405 GB, free: 81.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.6704, allocations: 347.3 kB / 0.5408 GB, free: 80.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.6707, allocations: 73.16 kB / 0.5409 GB, free: 80.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.671, allocations: 111.2 kB / 0.541 GB, free: 80.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.6714, allocations: 145.8 kB / 0.5411 GB, free: 80.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6714, allocations: 1.188 kB / 0.5411 GB, free: 80.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009001/0.6723, allocations: 339.7 kB / 0.5414 GB, free: 80.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.6724, allocations: 70.06 kB / 0.5415 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.6724, allocations: 1.062 kB / 0.5415 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.6724, allocations: 6.375 kB / 0.5415 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.6727, allocations: 37.45 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6727, allocations: 1.438 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.6729, allocations: 14.12 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.673, allocations: 14 kB / 0.5416 GB, free: 80.43 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002441/0.6732, allocations: 172.5 kB / 0.5417 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.6733, allocations: 29.94 kB / 0.5418 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007117/0.674, allocations: 222.2 kB / 0.542 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6741, allocations: 2.75 kB / 0.542 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6741, allocations: 2.125 kB / 0.542 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.6741, allocations: 3.422 kB / 0.542 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6753, allocations: 0.6828 MB / 0.5427 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6753, allocations: 5.344 kB / 0.5427 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.6755, allocations: 29.36 kB / 0.5427 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.6755, allocations: 6.031 kB / 0.5427 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.6755, allocations: 7.844 kB / 0.5427 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6756, allocations: 1.375 kB / 0.5427 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6756, allocations: 5.109 kB / 0.5427 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.6762, allocations: 416.5 kB / 0.5431 GB, free: 79.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.6764, allocations: 139.5 kB / 0.5432 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.6765, allocations: 11.77 kB / 0.5433 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.6767, allocations: 5.094 kB / 0.5433 GB, free: 79.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.6768, allocations: 19.39 kB / 0.5433 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.6768, allocations: 10.98 kB / 0.5433 GB, free: 79.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004816/0.6773, allocations: 302.2 kB / 0.5436 GB, free: 79.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6773, allocations: 1.406 kB / 0.5436 GB, free: 79.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006372/0.678, allocations: 88.48 kB / 0.5437 GB, free: 78.99 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.002602/0.6806, allocations: 1.741 MB / 0.5454 GB, free: 77.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007733/0.6814, allocations: 335.8 kB / 0.5457 GB, free: 77.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6814, allocations: 0 / 0.5457 GB, free: 77.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.6817, allocations: 76.83 kB / 0.5458 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.6823, allocations: 39.3 kB / 0.5458 GB, free: 77.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.6841, allocations: 1.345 MB / 0.5471 GB, free: 76.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6844, allocations: 0.7725 MB / 0.5479 GB, free: 75.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.6846, allocations: 32.61 kB / 0.5479 GB, free: 75.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.6848, allocations: 79.53 kB / 0.548 GB, free: 75.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6848, allocations: 0 / 0.548 GB, free: 75.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.7206, allocations: 5.977 MB / 0.5538 GB, free: 72.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/0.721, allocations: 209.9 kB / 0.554 GB, free: 71.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.308, allocations: 0 / 0.554 GB, free: 71.78 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat