Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test79",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.009804/0.009804, allocations: 177.6 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.925/1.925, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.001997/0.001997, allocations: 112.7 kB / 255.6 MB, free: 10.43 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.2839/0.2839, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.000469, allocations: 19.62 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 54.87 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.279, allocations: 82.27 MB / 0.5307 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.2793, allocations: 71.97 kB / 0.5307 GB, free: 0.7695 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.3183/0.5976, allocations: 6.945 MB / 0.5375 GB, free: 82.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5976, allocations: 0 / 0.5375 GB, free: 82.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.619e-05/0.5976, allocations: 3.312 kB / 0.5375 GB, free: 82.94 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.0009227/0.5986, allocations: 0.6669 MB / 0.5382 GB, free: 82.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5986, allocations: 8.938 kB / 0.5382 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.5987, allocations: 40.64 kB / 0.5382 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.631e-05/0.5988, allocations: 24.25 kB / 0.5383 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.5994, allocations: 278.8 kB / 0.5385 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.5994, allocations: 12.78 kB / 0.5385 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/0.5995, allocations: 12.55 kB / 0.5385 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.5998, allocations: 110 kB / 0.5386 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.5998, allocations: 0 / 0.5386 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5999, allocations: 1.812 kB / 0.5386 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5999, allocations: 2.406 kB / 0.5387 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.6001, allocations: 44.59 kB / 0.5387 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.601, allocations: 0.5136 MB / 0.5392 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.6014, allocations: 130 kB / 0.5393 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.6015, allocations: 2.047 kB / 0.5393 GB, free: 81.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.6018, allocations: 114.3 kB / 0.5394 GB, free: 81.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.455e-06/0.6018, allocations: 0 / 0.5394 GB, free: 81.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001592/0.6034, allocations: 385.7 kB / 0.5398 GB, free: 81.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.6035, allocations: 85.23 kB / 0.5399 GB, free: 81.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007648/0.6043, allocations: 378.7 kB / 0.5402 GB, free: 81.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.6043, allocations: 36.7 kB / 0.5403 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6045, allocations: 144.8 kB / 0.5404 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.6046, allocations: 54.77 kB / 0.5405 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.6046, allocations: 9.406 kB / 0.5405 GB, free: 81.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.981e-05/0.6047, allocations: 342.9 kB / 0.5408 GB, free: 80.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.605, allocations: 76.58 kB / 0.5409 GB, free: 80.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.6053, allocations: 111.4 kB / 0.541 GB, free: 80.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.6057, allocations: 146.2 kB / 0.5411 GB, free: 80.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.6057, allocations: 4.531 kB / 0.5411 GB, free: 80.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009066/0.6066, allocations: 339.8 kB / 0.5414 GB, free: 80.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.6067, allocations: 66.95 kB / 0.5415 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.6067, allocations: 1.781 kB / 0.5415 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.6068, allocations: 1.75 kB / 0.5415 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.607, allocations: 33.78 kB / 0.5415 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6071, allocations: 5.312 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.6073, allocations: 14.03 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.6073, allocations: 13.09 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.000253/0.6076, allocations: 164.1 kB / 0.5417 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.6077, allocations: 29.38 kB / 0.5418 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007153/0.6084, allocations: 231.8 kB / 0.542 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.6084, allocations: 2.188 kB / 0.542 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.6084, allocations: 5.812 kB / 0.542 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.6085, allocations: 4.828 kB / 0.542 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.6097, allocations: 0.6849 MB / 0.5427 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.6098, allocations: 5.344 kB / 0.5427 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.6099, allocations: 21.41 kB / 0.5427 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.6099, allocations: 6.219 kB / 0.5427 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.61, allocations: 7.547 kB / 0.5427 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.61, allocations: 1.156 kB / 0.5427 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.61, allocations: 1.094 kB / 0.5427 GB, free: 79.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007042/0.6107, allocations: 414.9 kB / 0.5431 GB, free: 79.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.6109, allocations: 143.7 kB / 0.5432 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.611, allocations: 3.906 kB / 0.5432 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.6112, allocations: 10.03 kB / 0.5433 GB, free: 79.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.6113, allocations: 19.08 kB / 0.5433 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.6113, allocations: 18.25 kB / 0.5433 GB, free: 79.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005246/0.6119, allocations: 303.2 kB / 0.5436 GB, free: 79 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6119, allocations: 0 / 0.5436 GB, free: 79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006259/0.6125, allocations: 92.36 kB / 0.5437 GB, free: 78.97 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.002721/0.6153, allocations: 1.733 MB / 0.5454 GB, free: 77.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008136/0.6161, allocations: 340 kB / 0.5457 GB, free: 77.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6161, allocations: 0 / 0.5457 GB, free: 77.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.6164, allocations: 63.39 kB / 0.5457 GB, free: 77.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.617, allocations: 48.25 kB / 0.5458 GB, free: 77.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.6189, allocations: 1.341 MB / 0.5471 GB, free: 76.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.6192, allocations: 0.7724 MB / 0.5479 GB, free: 75.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.6194, allocations: 38.06 kB / 0.5479 GB, free: 75.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.6196, allocations: 81.94 kB / 0.548 GB, free: 75.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6196, allocations: 1.062 kB / 0.548 GB, free: 75.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.6481, allocations: 5.989 MB / 0.5538 GB, free: 72.06 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.6484, allocations: 206.1 kB / 0.554 GB, free: 71.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/3.17, allocations: 4 kB / 0.554 GB, free: 71.82 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat