Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 119 kB / 17.78 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 204.7 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2393/0.2393, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.84 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3538, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00385/0.3577, allocations: 2.323 MB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.3608, allocations: 1.689 MB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.361, allocations: 11.59 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004726/0.3615, allocations: 144.5 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.3621, allocations: 284.4 kB / 0.5349 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.3633, allocations: 0.5318 MB / 0.5355 GB, free: 9.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.364, allocations: 0.5639 MB / 0.536 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.3641, allocations: 77.19 kB / 0.5361 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.3645, allocations: 236.6 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.3647, allocations: 223.2 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.109e-05/0.3648, allocations: 27.09 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.3652, allocations: 180.7 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3654, allocations: 128.4 kB / 0.5368 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.3656, allocations: 204.4 kB / 0.537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007319/0.3664, allocations: 0.6023 MB / 0.5376 GB, free: 8.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3664, allocations: 4 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3664, allocations: 1.406 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3664, allocations: 0 / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001318/0.3677, allocations: 0.9295 MB / 0.5385 GB, free: 7.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3678, allocations: 13.3 kB / 0.5385 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.194e-05/0.3678, allocations: 44 kB / 0.5386 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.368, allocations: 63.02 kB / 0.5386 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.3687, allocations: 483.2 kB / 0.5391 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3687, allocations: 20.56 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.3688, allocations: 13.16 kB / 0.5391 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/0.3693, allocations: 265 kB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3693, allocations: 3.938 kB / 0.5394 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.3693, allocations: 11.31 kB / 0.5394 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3693, allocations: 3.438 kB / 0.5394 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.3697, allocations: 109.4 kB / 0.5395 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.371, allocations: 0.8909 MB / 0.5404 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/0.3717, allocations: 292.5 kB / 0.5407 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.372, allocations: 116.1 kB / 0.5408 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3721, allocations: 2.781 kB / 0.5408 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004935/0.3726, allocations: 223.4 kB / 0.541 GB, free: 5.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.064e-06/0.3726, allocations: 0 / 0.541 GB, free: 5.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001206/0.3738, allocations: 408.5 kB / 0.5414 GB, free: 5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.3741, allocations: 346.5 kB / 0.5417 GB, free: 4.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3751, allocations: 0.6657 MB / 0.5424 GB, free: 4.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.3751, allocations: 34.02 kB / 0.5424 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.3754, allocations: 244.9 kB / 0.5426 GB, free: 3.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.043e-05/0.3754, allocations: 66.27 kB / 0.5427 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.3756, allocations: 64.06 kB / 0.5427 GB, free: 3.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3758, allocations: 369.8 kB / 0.5431 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.376, allocations: 82.05 kB / 0.5432 GB, free: 3.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.3764, allocations: 243.8 kB / 0.5434 GB, free: 3.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.3768, allocations: 228.3 kB / 0.5436 GB, free: 3.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3768, allocations: 1.094 kB / 0.5436 GB, free: 3.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007066/0.3775, allocations: 322.8 kB / 0.5439 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3776, allocations: 5.719 kB / 0.5439 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3776, allocations: 1.125 kB / 0.5439 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3776, allocations: 7.281 kB / 0.544 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3779, allocations: 56.94 kB / 0.544 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.3779, allocations: 7.578 kB / 0.544 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.3781, allocations: 28 kB / 0.544 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.3782, allocations: 9.031 kB / 0.5441 GB, free: 2.891 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.3784, allocations: 233.1 kB / 0.5443 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.3785, allocations: 63.19 kB / 0.5443 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.3786, allocations: 59.94 kB / 0.5444 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.3787, allocations: 2.469 kB / 0.5444 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3787, allocations: 2.344 kB / 0.5444 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3787, allocations: 1.125 kB / 0.5444 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.3792, allocations: 421.8 kB / 0.5448 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3792, allocations: 1.656 kB / 0.5448 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.3793, allocations: 26.23 kB / 0.5448 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3793, allocations: 1.406 kB / 0.5448 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.3793, allocations: 21.05 kB / 0.5448 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3794, allocations: 1.031 kB / 0.5448 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3794, allocations: 1.406 kB / 0.5448 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.3801, allocations: 368.3 kB / 0.5452 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3803, allocations: 131.7 kB / 0.5453 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.3803, allocations: 12.88 kB / 0.5453 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3805, allocations: 20.44 kB / 0.5454 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3806, allocations: 29.5 kB / 0.5454 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.3807, allocations: 22.86 kB / 0.5454 GB, free: 1.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006199/0.3813, allocations: 487.9 kB / 0.5459 GB, free: 1.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3813, allocations: 3.938 kB / 0.5459 GB, free: 1.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004865/0.3818, allocations: 103.9 kB / 0.546 GB, free: 1.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002543/0.3844, allocations: 1.261 MB / 0.5472 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006266/0.385, allocations: 231.6 kB / 0.5474 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.385, allocations: 0 / 0.5474 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.3854, allocations: 167.8 kB / 0.5476 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.3862, allocations: 146.1 kB / 0.5477 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.3924, allocations: 4.289 MB / 0.5519 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.3929, allocations: 0.8506 MB / 0.5527 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.3933, allocations: 87.23 kB / 0.5528 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.3936, allocations: 175.4 kB / 0.553 GB, free: 10.09 MB / 414.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3936, allocations: 0 / 0.553 GB, free: 10.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.432, allocations: 12.79 MB / 0.5655 GB, free: 13.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.869/9.301, allocations: 32.05 kB / 0.5655 GB, free: 13.38 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.IntegerTable.pipe 2>&1)