Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test40",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.009869/0.009869, allocations: 176 kB / 15.12 MB, free: 5.93 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.031/2.031, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.001983/0.001983, 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.2686/0.2686, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004686, allocations: 13.91 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 54.88 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.275, allocations: 82.14 MB / 0.5306 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.2753, allocations: 71.95 kB / 0.5306 GB, free: 0.8789 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.3146/0.5899, allocations: 4.706 MB / 0.5352 GB, free: 82.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.5899, allocations: 4 kB / 0.5352 GB, free: 82.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.59, allocations: 2.25 kB / 0.5352 GB, free: 82.71 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.0007229/0.5907, allocations: 481.2 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.5908, allocations: 8.781 kB / 0.5357 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.5908, allocations: 37.02 kB / 0.5357 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.197e-05/0.5909, allocations: 10.53 kB / 0.5357 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.5913, allocations: 215.3 kB / 0.5359 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5913, allocations: 9.094 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.5914, allocations: 4.859 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.5916, allocations: 54.12 kB / 0.536 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.5916, allocations: 0 / 0.536 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.5916, allocations: 11.45 kB / 0.536 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5916, allocations: 5.141 kB / 0.536 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.5918, allocations: 23.36 kB / 0.536 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.5923, allocations: 317.7 kB / 0.5363 GB, free: 81.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.5925, allocations: 63.33 kB / 0.5364 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5926, allocations: 1 kB / 0.5364 GB, free: 81.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.5928, allocations: 75.47 kB / 0.5365 GB, free: 81.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.5928, allocations: 0 / 0.5365 GB, free: 81.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008585/0.5937, allocations: 178 kB / 0.5367 GB, free: 81.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.5937, allocations: 61.69 kB / 0.5367 GB, free: 81.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.594, allocations: 195 kB / 0.5369 GB, free: 81.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5941, allocations: 27.77 kB / 0.5369 GB, free: 81.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.5941, allocations: 104.4 kB / 0.537 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.5942, allocations: 21.47 kB / 0.537 GB, free: 81.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.5942, allocations: 5.688 kB / 0.537 GB, free: 81.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.5943, allocations: 320.6 kB / 0.5374 GB, free: 80.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.5945, allocations: 37.17 kB / 0.5374 GB, free: 80.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.5947, allocations: 58.53 kB / 0.5374 GB, free: 80.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.5949, allocations: 81.45 kB / 0.5375 GB, free: 80.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5949, allocations: 4.969 kB / 0.5375 GB, free: 80.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004695/0.5954, allocations: 178.9 kB / 0.5377 GB, free: 80.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.015e-05/0.5954, allocations: 37.7 kB / 0.5377 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5954, allocations: 0 / 0.5377 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5955, allocations: 1.984 kB / 0.5377 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.5956, allocations: 21.81 kB / 0.5378 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5956, allocations: 0 / 0.5378 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.5958, allocations: 6.188 kB / 0.5378 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5958, allocations: 8.75 kB / 0.5378 GB, free: 80.76 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.0001468/0.596, allocations: 140.4 kB / 0.5379 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.596, allocations: 16.8 kB / 0.5379 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.5964, allocations: 122.4 kB / 0.538 GB, free: 80.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5964, allocations: 5.438 kB / 0.538 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5964, allocations: 384 / 0.538 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.5965, allocations: 6.594 kB / 0.538 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.5972, allocations: 418.8 kB / 0.5384 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5972, allocations: 5.312 kB / 0.5385 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-05/0.5973, allocations: 9.453 kB / 0.5385 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5973, allocations: 1.375 kB / 0.5385 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.5973, allocations: 3.562 kB / 0.5385 GB, free: 80.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5973, allocations: 5.438 kB / 0.5385 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5973, allocations: 0 / 0.5385 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.5977, allocations: 228.4 kB / 0.5387 GB, free: 80.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.5978, allocations: 102.2 kB / 0.5388 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.5979, allocations: 2 kB / 0.5388 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.598, allocations: 7.859 kB / 0.5388 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.5981, allocations: 10.19 kB / 0.5388 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.5981, allocations: 4.406 kB / 0.5388 GB, free: 79.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.5983, allocations: 150.5 kB / 0.539 GB, free: 79.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5983, allocations: 288 / 0.539 GB, free: 79.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004479/0.5988, allocations: 45.44 kB / 0.539 GB, free: 79.89 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.00175/0.6005, allocations: 1.169 MB / 0.5401 GB, free: 78.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004459/0.601, allocations: 168.3 kB / 0.5403 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.601, allocations: 1.031 kB / 0.5403 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.6012, allocations: 31.14 kB / 0.5403 GB, free: 78.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.6015, allocations: 29.73 kB / 0.5404 GB, free: 78.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.6026, allocations: 0.6602 MB / 0.541 GB, free: 78.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.6029, allocations: 0.7086 MB / 0.5417 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.94e-05/0.603, allocations: 17.38 kB / 0.5417 GB, free: 77.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.6031, allocations: 40.09 kB / 0.5418 GB, free: 77.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6031, allocations: 1.188 kB / 0.5418 GB, free: 77.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.6275, allocations: 3.114 MB / 0.5448 GB, free: 76.72 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/0.6279, allocations: 219.5 kB / 0.545 GB, free: 76.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.07, allocations: 3.938 kB / 0.545 GB, free: 76.47 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat