Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test6",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.01056/0.01056, allocations: 176 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.936/1.936, 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.00283/0.00283, allocations: 124.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.2685/0.2685, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007355/0.0007355, allocations: 12.19 kB / 406.3 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1048, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.2575, allocations: 82.16 MB / 0.5306 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.2578, allocations: 71.97 kB / 0.5306 GB, free: 0.8672 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.3395/0.5973, allocations: 4.931 MB / 0.5355 GB, free: 82.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5973, allocations: 0.9688 kB / 0.5355 GB, free: 82.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.5973, allocations: 2.25 kB / 0.5355 GB, free: 82.72 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.000635/0.598, allocations: 0.4997 MB / 0.5359 GB, free: 82.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.5981, allocations: 10.53 kB / 0.536 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.5981, allocations: 31.12 kB / 0.536 GB, free: 82.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.5982, allocations: 16.41 kB / 0.536 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.5985, allocations: 218.3 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.5986, allocations: 7.094 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.5986, allocations: 4.094 kB / 0.5362 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.5988, allocations: 58.44 kB / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.5989, allocations: 0 / 0.5363 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.5989, allocations: 12.31 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5989, allocations: 0 / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.599, allocations: 20.94 kB / 0.5363 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.5995, allocations: 331.7 kB / 0.5366 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.5998, allocations: 64.89 kB / 0.5367 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.5998, allocations: 1.25 kB / 0.5367 GB, free: 81.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.6, allocations: 74.58 kB / 0.5368 GB, free: 81.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.6001, allocations: 0 / 0.5368 GB, free: 81.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008533/0.6009, allocations: 200 kB / 0.5369 GB, free: 81.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.601, allocations: 52.44 kB / 0.537 GB, free: 81.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.6014, allocations: 249.9 kB / 0.5372 GB, free: 81.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.6015, allocations: 28.33 kB / 0.5373 GB, free: 81.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.6015, allocations: 116.8 kB / 0.5374 GB, free: 81.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.6016, allocations: 22.81 kB / 0.5374 GB, free: 81.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.6016, allocations: 5.312 kB / 0.5374 GB, free: 81.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.6017, allocations: 324.7 kB / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.6019, allocations: 37.05 kB / 0.5377 GB, free: 80.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.602, allocations: 58.59 kB / 0.5378 GB, free: 80.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.6022, allocations: 75.34 kB / 0.5379 GB, free: 80.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6022, allocations: 9 kB / 0.5379 GB, free: 80.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000526/0.6028, allocations: 186.3 kB / 0.5381 GB, free: 80.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.6028, allocations: 35.08 kB / 0.5381 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.6028, allocations: 1.406 kB / 0.5381 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.6029, allocations: 1.156 kB / 0.5381 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.603, allocations: 16 kB / 0.5381 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.603, allocations: 0 / 0.5381 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.6032, allocations: 10.47 kB / 0.5381 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.6032, allocations: 4.25 kB / 0.5381 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.0001598/0.6034, allocations: 147.3 kB / 0.5383 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.6034, allocations: 19.89 kB / 0.5383 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.6038, allocations: 125 kB / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.6038, allocations: 2.469 kB / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6038, allocations: 0 / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6039, allocations: 2.078 kB / 0.5384 GB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.6045, allocations: 444.1 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6046, allocations: 0.6562 kB / 0.5388 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.6047, allocations: 18.58 kB / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6047, allocations: 0.9062 kB / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.6047, allocations: 2.734 kB / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6047, allocations: 1.812 kB / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6047, allocations: 0 / 0.5389 GB, free: 80.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.6051, allocations: 235.6 kB / 0.5391 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6052, allocations: 105.2 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.6052, allocations: 3 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.6054, allocations: 7.906 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.6054, allocations: 6.641 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.6055, allocations: 3.062 kB / 0.5392 GB, free: 79.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002847/0.6058, allocations: 198.5 kB / 0.5394 GB, free: 79.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6058, allocations: 4.281 kB / 0.5394 GB, free: 79.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.6062, allocations: 48.8 kB / 0.5394 GB, free: 79.88 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.001701/0.6079, allocations: 1.167 MB / 0.5406 GB, free: 78.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.6084, allocations: 169.6 kB / 0.5407 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6084, allocations: 0 / 0.5407 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.6085, allocations: 36.5 kB / 0.5408 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6089, allocations: 25.3 kB / 0.5408 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6101, allocations: 0.7352 MB / 0.5415 GB, free: 78.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.6103, allocations: 0.7224 MB / 0.5422 GB, free: 77.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.6104, allocations: 21.28 kB / 0.5422 GB, free: 77.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.6105, allocations: 45.16 kB / 0.5423 GB, free: 77.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.864e-06/0.6106, allocations: 4 kB / 0.5423 GB, free: 77.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.6405, allocations: 3.486 MB / 0.5457 GB, free: 76.43 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.6408, allocations: 221.7 kB / 0.5459 GB, free: 76.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.16, allocations: 3.938 kB / 0.5459 GB, free: 76.17 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat does not exist to compare? outputFormat=mat