Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 247 MB, free: 10.41 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.2283/0.2283, allocations: 46.13 MB / 344.4 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.002275/0.002275, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3311, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002979/0.3342, allocations: 1.654 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3352, allocations: 0.5566 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.3353, allocations: 0 / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.3358, allocations: 453.3 kB / 0.5332 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005832/0.3364, allocations: 287.7 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.3368, allocations: 133.7 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002638/0.337, allocations: 167.3 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3371, allocations: 16.3 kB / 0.5338 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.3373, allocations: 105 kB / 0.5339 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3375, allocations: 218.9 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3375, allocations: 2.219 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.3376, allocations: 42.34 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.3378, allocations: 81.78 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.3379, allocations: 98.69 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.3382, allocations: 266.1 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3382, allocations: 1.375 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3382, allocations: 4 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3382, allocations: 0 / 0.5346 GB, free: 10.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009055/0.3391, allocations: 0.6625 MB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3392, allocations: 9.406 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.3392, allocations: 32.22 kB / 0.5353 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3393, allocations: 51.03 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.3396, allocations: 307.6 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3396, allocations: 2.469 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3396, allocations: 2.562 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3398, allocations: 57.91 kB / 0.5357 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3398, allocations: 3.984 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.3398, allocations: 1.062 kB / 0.5357 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3399, allocations: 5.062 kB / 0.5357 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.34, allocations: 25.66 kB / 0.5357 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.3405, allocations: 388.4 kB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.3407, allocations: 55.08 kB / 0.5361 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.3408, allocations: 15.42 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.3408, allocations: 1.688 kB / 0.5361 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.237e-05/0.3409, allocations: 34.56 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3409, allocations: 1.562 kB / 0.5362 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006159/0.3415, allocations: 239.8 kB / 0.5364 GB, free: 9.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.3417, allocations: 52.47 kB / 0.5365 GB, free: 8.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009131/0.3426, allocations: 0.8766 MB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3426, allocations: 25.7 kB / 0.5373 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.3428, allocations: 222.1 kB / 0.5375 GB, free: 8.328 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.3429, allocations: 19.36 kB / 0.5376 GB, free: 8.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3429, allocations: 17.03 kB / 0.5376 GB, free: 8.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.3431, allocations: 368.2 kB / 0.5379 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.3432, allocations: 18.17 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-05/0.3433, allocations: 19.33 kB / 0.538 GB, free: 7.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.3434, allocations: 44.39 kB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3434, allocations: 1.125 kB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002294/0.3437, allocations: 128 kB / 0.5381 GB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3438, allocations: 8.812 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3438, allocations: 1.094 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3438, allocations: 0 / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.3439, allocations: 14.11 kB / 0.5382 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.3439, allocations: 3.938 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.3439, allocations: 7.531 kB / 0.5382 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.344, allocations: 2.469 kB / 0.5382 GB, free: 7.801 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001973/0.3442, allocations: 213.5 kB / 0.5384 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.3442, allocations: 41.91 kB / 0.5384 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.3445, allocations: 139.5 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3445, allocations: 1.094 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3445, allocations: 1.156 kB / 0.5385 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3446, allocations: 3.938 kB / 0.5386 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005705/0.3451, allocations: 455.1 kB / 0.539 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3451, allocations: 5.078 kB / 0.539 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3452, allocations: 17.06 kB / 0.539 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3452, allocations: 1.344 kB / 0.539 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.3452, allocations: 3.938 kB / 0.539 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3452, allocations: 1.125 kB / 0.539 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.3452, allocations: 0 / 0.539 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.3455, allocations: 216.1 kB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.3456, allocations: 118.7 kB / 0.5393 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.3457, allocations: 8.188 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.3458, allocations: 4.281 kB / 0.5393 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3458, allocations: 5.156 kB / 0.5393 GB, free: 6.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.3458, allocations: 9.453 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006781/0.3465, allocations: 0.6565 MB / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3465, allocations: 0 / 0.54 GB, free: 6.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.3468, allocations: 30.2 kB / 0.54 GB, free: 6.465 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002083/0.3489, allocations: 1.044 MB / 0.541 GB, free: 5.629 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.3491, allocations: 44.38 kB / 0.5411 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3491, allocations: 1.406 kB / 0.5411 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.3492, allocations: 34.91 kB / 0.5411 GB, free: 5.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.3496, allocations: 21.47 kB / 0.5411 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/0.3537, allocations: 3.256 MB / 0.5443 GB, free: 3.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3542, allocations: 0.8182 MB / 0.5451 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.599e-05/0.3543, allocations: 19.97 kB / 0.5451 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3545, allocations: 103.4 kB / 0.5452 GB, free: 2.395 MB / 398.1 MB Notification: Performance of SimCode: time 4.198e-06/0.3545, allocations: 0 / 0.5452 GB, free: 2.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3828, allocations: 6.072 MB / 0.5512 GB, free: 12.42 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.15, allocations: 1.969 kB / 0.5512 GB, free: 12.42 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1)