Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test54",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.009983/0.009989, allocations: 177.3 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/2, allocations: 194.5 MB / 210.3 MB, free: 7.797 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.002021/0.002021, allocations: 100.8 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.2565/0.2565, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004867, allocations: 17.16 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.101, allocations: 54.87 MB / 461.1 MB, free: 3.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.2524, allocations: 82.15 MB / 0.5306 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.2528, allocations: 79.95 kB / 0.5306 GB, free: 0.8828 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.3595/0.6123, allocations: 4.758 MB / 0.5353 GB, free: 83.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6124, allocations: 0 / 0.5353 GB, free: 83.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.6124, allocations: 2.156 kB / 0.5353 GB, free: 83.02 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.0006487/0.613, allocations: 491 kB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.754e-05/0.6131, allocations: 8.812 kB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.6132, allocations: 35.66 kB / 0.5358 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.6133, allocations: 15.42 kB / 0.5358 GB, free: 82.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.6136, allocations: 211.2 kB / 0.536 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.6137, allocations: 10.38 kB / 0.536 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.6137, allocations: 4.859 kB / 0.536 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.6139, allocations: 56.2 kB / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6139, allocations: 0.6094 kB / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6139, allocations: 3.953 kB / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.614, allocations: 1.406 kB / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.6141, allocations: 19.31 kB / 0.5361 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.6146, allocations: 327.7 kB / 0.5364 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.6148, allocations: 61.02 kB / 0.5365 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.6149, allocations: 1.062 kB / 0.5365 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.6151, allocations: 78.09 kB / 0.5366 GB, free: 81.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.6151, allocations: 0 / 0.5366 GB, free: 81.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008439/0.616, allocations: 188 kB / 0.5367 GB, free: 81.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.616, allocations: 56.94 kB / 0.5368 GB, free: 81.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003084/0.6163, allocations: 202.2 kB / 0.537 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.6164, allocations: 27.89 kB / 0.537 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.6164, allocations: 107.1 kB / 0.5371 GB, free: 81.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.6165, allocations: 27.03 kB / 0.5371 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.6165, allocations: 5.906 kB / 0.5371 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.6166, allocations: 323.1 kB / 0.5375 GB, free: 81.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.6167, allocations: 46.09 kB / 0.5375 GB, free: 81.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.6169, allocations: 52.78 kB / 0.5375 GB, free: 81.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.6171, allocations: 77.64 kB / 0.5376 GB, free: 81.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6171, allocations: 0 / 0.5376 GB, free: 81.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004537/0.6176, allocations: 181.6 kB / 0.5378 GB, free: 81.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.6176, allocations: 34.42 kB / 0.5378 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6177, allocations: 0.9688 kB / 0.5378 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6177, allocations: 1 kB / 0.5378 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.6178, allocations: 20.39 kB / 0.5378 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.6179, allocations: 1.156 kB / 0.5378 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.618, allocations: 8.641 kB / 0.5379 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.618, allocations: 5.422 kB / 0.5379 GB, free: 81.07 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.0001445/0.6182, allocations: 139.2 kB / 0.538 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.723e-05/0.6182, allocations: 17.55 kB / 0.538 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.6186, allocations: 128.7 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.6187, allocations: 5.031 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6187, allocations: 0 / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.6187, allocations: 2.328 kB / 0.5381 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.6194, allocations: 420.2 kB / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6194, allocations: 1.25 kB / 0.5385 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.451e-05/0.6195, allocations: 13.45 kB / 0.5386 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.6195, allocations: 2.656 kB / 0.5386 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.6195, allocations: 1.797 kB / 0.5386 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6195, allocations: 6.125 kB / 0.5386 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6195, allocations: 0 / 0.5386 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003494/0.6199, allocations: 230.5 kB / 0.5388 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.62, allocations: 102.2 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.62, allocations: 5.969 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.6202, allocations: 7.625 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.6202, allocations: 6.547 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.6203, allocations: 4.156 kB / 0.5389 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.6205, allocations: 164.7 kB / 0.5391 GB, free: 80.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6205, allocations: 3.938 kB / 0.5391 GB, free: 80.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004162/0.6209, allocations: 46.23 kB / 0.5391 GB, free: 80.2 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.001698/0.6226, allocations: 1.158 MB / 0.5402 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004657/0.6231, allocations: 169.2 kB / 0.5404 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6232, allocations: 0 / 0.5404 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.6233, allocations: 35 kB / 0.5404 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.6237, allocations: 22.09 kB / 0.5405 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.6248, allocations: 0.6751 MB / 0.5411 GB, free: 78.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.625, allocations: 0.7146 MB / 0.5418 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.6252, allocations: 16.7 kB / 0.5418 GB, free: 77.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.6253, allocations: 38.12 kB / 0.5419 GB, free: 77.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.715e-06/0.6253, allocations: 0 / 0.5419 GB, free: 77.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.6547, allocations: 3.208 MB / 0.545 GB, free: 76.99 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003254/0.6551, allocations: 212.5 kB / 0.5452 GB, free: 76.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.187, allocations: 0 / 0.5452 GB, free: 76.75 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat