Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test45",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.01032/0.01032, allocations: 174.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 1.964/1.964, 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.002/0.002, allocations: 124.6 kB / 255.6 MB, free: 10.24 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.2495/0.2495, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004506, allocations: 13.69 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 54.87 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.2842, allocations: 82.16 MB / 0.5306 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.2845, allocations: 71.95 kB / 0.5306 GB, free: 0.8633 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.3323/0.6168, allocations: 4.659 MB / 0.5352 GB, free: 82.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6169, allocations: 0 / 0.5352 GB, free: 82.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.6169, allocations: 2.188 kB / 0.5352 GB, free: 82.74 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.0006224/0.6175, allocations: 482.1 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6176, allocations: 8.719 kB / 0.5357 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.6176, allocations: 39.7 kB / 0.5357 GB, free: 82.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.6177, allocations: 8.531 kB / 0.5357 GB, free: 82.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.618, allocations: 211.4 kB / 0.5359 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.6181, allocations: 2.969 kB / 0.5359 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.6181, allocations: 5.281 kB / 0.5359 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.6183, allocations: 53.53 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6183, allocations: 5.75 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.6183, allocations: 7.266 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6183, allocations: 1.531 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.6185, allocations: 18.92 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.6189, allocations: 319.3 kB / 0.5363 GB, free: 81.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.6192, allocations: 60.42 kB / 0.5364 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.6192, allocations: 6.047 kB / 0.5364 GB, free: 81.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.6194, allocations: 73.8 kB / 0.5364 GB, free: 81.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/0.6194, allocations: 0 / 0.5364 GB, free: 81.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007603/0.6202, allocations: 183.8 kB / 0.5366 GB, free: 81.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.6202, allocations: 57.41 kB / 0.5367 GB, free: 81.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.6205, allocations: 173.6 kB / 0.5368 GB, free: 81.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.6205, allocations: 35.17 kB / 0.5369 GB, free: 81.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.6206, allocations: 98.09 kB / 0.537 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.6206, allocations: 27.22 kB / 0.537 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.6206, allocations: 3.844 kB / 0.537 GB, free: 81.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.6207, allocations: 321.2 kB / 0.5373 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.6208, allocations: 40.45 kB / 0.5373 GB, free: 80.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.621, allocations: 54.56 kB / 0.5374 GB, free: 80.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.6212, allocations: 77.44 kB / 0.5375 GB, free: 80.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6212, allocations: 5.062 kB / 0.5375 GB, free: 80.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004243/0.6217, allocations: 180.4 kB / 0.5376 GB, free: 80.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.6217, allocations: 42.03 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6217, allocations: 1.031 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6218, allocations: 1.344 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6219, allocations: 17.02 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6219, allocations: 0 / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.622, allocations: 9.156 kB / 0.5377 GB, free: 80.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.6221, allocations: 10.45 kB / 0.5377 GB, free: 80.79 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.0001104/0.6222, allocations: 130.9 kB / 0.5378 GB, free: 80.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.6222, allocations: 13.23 kB / 0.5378 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.6226, allocations: 128 kB / 0.538 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6226, allocations: 1.812 kB / 0.538 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6226, allocations: 0 / 0.538 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6226, allocations: 2.297 kB / 0.538 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.6233, allocations: 421.5 kB / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6233, allocations: 0 / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.6234, allocations: 10.03 kB / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.6234, allocations: 5.438 kB / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.6234, allocations: 2.625 kB / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6234, allocations: 1.438 kB / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6234, allocations: 0 / 0.5384 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.6237, allocations: 231.2 kB / 0.5386 GB, free: 80.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.6238, allocations: 100.8 kB / 0.5387 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.6239, allocations: 2.688 kB / 0.5387 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.624, allocations: 4.75 kB / 0.5387 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.6241, allocations: 8.781 kB / 0.5387 GB, free: 80.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6241, allocations: 4.312 kB / 0.5387 GB, free: 80.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.6243, allocations: 147.2 kB / 0.5389 GB, free: 79.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6243, allocations: 1.375 kB / 0.5389 GB, free: 79.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003894/0.6247, allocations: 44.34 kB / 0.5389 GB, free: 79.93 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.001624/0.6263, allocations: 1.169 MB / 0.5401 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.6267, allocations: 169.7 kB / 0.5402 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.6267, allocations: 0 / 0.5402 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.6268, allocations: 29.8 kB / 0.5402 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.6272, allocations: 20.34 kB / 0.5403 GB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.6281, allocations: 0.6482 MB / 0.5409 GB, free: 78.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.6283, allocations: 0.7099 MB / 0.5416 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.989e-05/0.6284, allocations: 12.41 kB / 0.5416 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.356e-05/0.6285, allocations: 34.83 kB / 0.5416 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6285, allocations: 1.375 kB / 0.5416 GB, free: 77.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.6585, allocations: 3.059 MB / 0.5446 GB, free: 76.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.6588, allocations: 211.7 kB / 0.5448 GB, free: 76.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.121, allocations: 0 / 0.5448 GB, free: 76.58 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat