Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test8",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.01238/0.01238, allocations: 175.5 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 2.06/2.06, allocations: 194.5 MB / 210.3 MB, free: 8.777 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.002053/0.002053, allocations: 124.6 kB / 255.6 MB, free: 11.39 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.2944/0.2944, allocations: 40 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 13.88 kB / 406.3 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1027, allocations: 54.88 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.2776, allocations: 82.15 MB / 0.5306 GB, free: 1.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003429/0.278, allocations: 75.97 kB / 0.5306 GB, free: 0.9883 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.3392/0.6173, allocations: 5.094 MB / 0.5356 GB, free: 82.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6173, allocations: 0 / 0.5356 GB, free: 82.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.6173, allocations: 3.391 kB / 0.5356 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006407/0.618, allocations: 498.8 kB / 0.5361 GB, free: 82.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.618, allocations: 9.656 kB / 0.5361 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.6181, allocations: 39.36 kB / 0.5361 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.6182, allocations: 15.08 kB / 0.5362 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.6185, allocations: 220.1 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.6186, allocations: 3.438 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.6186, allocations: 6.969 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.6188, allocations: 70 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.6189, allocations: 0 / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.6189, allocations: 5.359 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6189, allocations: 1.062 kB / 0.5364 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.6191, allocations: 38.5 kB / 0.5365 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.6196, allocations: 334.4 kB / 0.5368 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.62, allocations: 80.69 kB / 0.5369 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.62, allocations: 1.656 kB / 0.5369 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.6202, allocations: 78.06 kB / 0.537 GB, free: 81.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.266e-06/0.6202, allocations: 1.656 kB / 0.537 GB, free: 81.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001021/0.6213, allocations: 224.5 kB / 0.5372 GB, free: 81.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.6213, allocations: 52.66 kB / 0.5372 GB, free: 81.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/0.6217, allocations: 227.1 kB / 0.5374 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.6218, allocations: 27.58 kB / 0.5375 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.6218, allocations: 109.3 kB / 0.5376 GB, free: 81.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.6219, allocations: 34.94 kB / 0.5376 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.6219, allocations: 5.5 kB / 0.5376 GB, free: 81.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/0.622, allocations: 325.4 kB / 0.5379 GB, free: 81.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.6222, allocations: 50.77 kB / 0.538 GB, free: 81.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.6224, allocations: 58.31 kB / 0.538 GB, free: 81.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.6226, allocations: 80.48 kB / 0.5381 GB, free: 81.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6226, allocations: 0 / 0.5381 GB, free: 81.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000523/0.6231, allocations: 203.3 kB / 0.5383 GB, free: 81.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.6232, allocations: 41.56 kB / 0.5383 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.6232, allocations: 1.969 kB / 0.5383 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.6232, allocations: 1.375 kB / 0.5383 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.6234, allocations: 20.78 kB / 0.5384 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6234, allocations: 6.031 kB / 0.5384 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.6235, allocations: 5.703 kB / 0.5384 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.6236, allocations: 9.531 kB / 0.5384 GB, free: 80.97 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 (12): * Single equations (assignments): 11 * 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.0001612/0.6237, allocations: 141.2 kB / 0.5385 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.6238, allocations: 19.38 kB / 0.5385 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.6243, allocations: 145.8 kB / 0.5387 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6243, allocations: 1 kB / 0.5387 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6243, allocations: 0 / 0.5387 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.6243, allocations: 2.125 kB / 0.5387 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007964/0.6251, allocations: 471.4 kB / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6251, allocations: 0 / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/0.6253, allocations: 13.97 kB / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.6253, allocations: 1.25 kB / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6253, allocations: 6.094 kB / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.6253, allocations: 1.25 kB / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6253, allocations: 1.281 kB / 0.5391 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.6257, allocations: 255.6 kB / 0.5394 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.6259, allocations: 108 kB / 0.5395 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.6259, allocations: 5.25 kB / 0.5395 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.6261, allocations: 4.516 kB / 0.5395 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.6261, allocations: 10.34 kB / 0.5395 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.6262, allocations: 5.391 kB / 0.5395 GB, free: 80.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002826/0.6264, allocations: 178.5 kB / 0.5397 GB, free: 80.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6265, allocations: 0 / 0.5397 GB, free: 80.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004284/0.6269, allocations: 54.16 kB / 0.5397 GB, free: 80.11 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 (11): * Single equations (assignments): 9 * 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.00178/0.6287, allocations: 1.185 MB / 0.5409 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.6293, allocations: 191.7 kB / 0.5411 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6293, allocations: 0 / 0.5411 GB, free: 79.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6294, allocations: 44.59 kB / 0.5411 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.6298, allocations: 21.2 kB / 0.5411 GB, free: 79.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.6311, allocations: 0.7198 MB / 0.5418 GB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.6313, allocations: 0.7212 MB / 0.5425 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.6314, allocations: 18.95 kB / 0.5426 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.6316, allocations: 42.83 kB / 0.5426 GB, free: 77.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6316, allocations: 5.281 kB / 0.5426 GB, free: 77.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.6613, allocations: 3.531 MB / 0.5461 GB, free: 76.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003314/0.6617, allocations: 210.9 kB / 0.5463 GB, free: 76.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.28, allocations: 4 kB / 0.5463 GB, free: 76.34 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat