Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001725/0.001725, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00194/0.00194, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247 MB, free: 10.42 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.2366/0.2366, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002279/0.00228, allocations: 71.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3389, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003198/0.3421, allocations: 1.681 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.3432, allocations: 0.5631 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.3433, allocations: 1.375 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007157/0.344, allocations: 452.4 kB / 0.5333 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.3446, allocations: 295.7 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00045/0.3451, allocations: 131.8 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.3454, allocations: 174.8 kB / 0.5338 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3456, allocations: 20.47 kB / 0.5339 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3457, allocations: 120.2 kB / 0.534 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.346, allocations: 211.9 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3461, allocations: 4.125 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3463, allocations: 60.58 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.3465, allocations: 86.42 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.3466, allocations: 111.2 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005113/0.3472, allocations: 284.8 kB / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3472, allocations: 0 / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3472, allocations: 0 / 0.5347 GB, free: 10.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.3472, allocations: 1.469 kB / 0.5347 GB, free: 10.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001018/0.3482, allocations: 0.668 MB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3483, allocations: 9 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.3483, allocations: 44.48 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.3484, allocations: 43.78 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.3488, allocations: 307.9 kB / 0.5357 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.3488, allocations: 1.625 kB / 0.5357 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.3488, allocations: 7.938 kB / 0.5357 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.349, allocations: 66.59 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3491, allocations: 1.125 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3491, allocations: 0 / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3491, allocations: 1.125 kB / 0.5358 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3492, allocations: 47.09 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.3498, allocations: 400.3 kB / 0.5362 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.3501, allocations: 54.97 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.3502, allocations: 28.7 kB / 0.5363 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3502, allocations: 9.266 kB / 0.5363 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3502, allocations: 39.88 kB / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.566e-06/0.3502, allocations: 0 / 0.5364 GB, free: 9.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001641/0.3519, allocations: 480.8 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3519, allocations: 56.84 kB / 0.5369 GB, free: 8.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/0.3529, allocations: 0.871 MB / 0.5377 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.353, allocations: 27.3 kB / 0.5378 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.3532, allocations: 215.2 kB / 0.538 GB, free: 8.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.3532, allocations: 35.81 kB / 0.538 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/0.3533, allocations: 34.2 kB / 0.538 GB, free: 8.031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3534, allocations: 359.5 kB / 0.5384 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3536, allocations: 44.28 kB / 0.5384 GB, free: 7.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3537, allocations: 48.64 kB / 0.5385 GB, free: 7.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.354, allocations: 98.78 kB / 0.5386 GB, free: 7.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.354, allocations: 1.375 kB / 0.5386 GB, free: 7.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003677/0.3544, allocations: 171.7 kB / 0.5387 GB, free: 7.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3544, allocations: 9.922 kB / 0.5387 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3544, allocations: 0 / 0.5387 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3544, allocations: 3.938 kB / 0.5387 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3546, allocations: 32.14 kB / 0.5388 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3546, allocations: 1.406 kB / 0.5388 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.289e-05/0.3547, allocations: 9.891 kB / 0.5388 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3547, allocations: 3.344 kB / 0.5388 GB, free: 7.473 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 (11): * Single equations (assignments): 11 * 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.0002187/0.3549, allocations: 221.8 kB / 0.539 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.355, allocations: 47.23 kB / 0.539 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.3555, allocations: 203.4 kB / 0.5392 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3555, allocations: 5 kB / 0.5392 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3555, allocations: 0 / 0.5392 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3555, allocations: 1.062 kB / 0.5392 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.3564, allocations: 0.5822 MB / 0.5398 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.3565, allocations: 8.938 kB / 0.5398 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3566, allocations: 24.17 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3566, allocations: 1.25 kB / 0.5398 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3566, allocations: 6.25 kB / 0.5398 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3566, allocations: 1.094 kB / 0.5398 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3566, allocations: 1.125 kB / 0.5398 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.357, allocations: 289.3 kB / 0.5401 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.3572, allocations: 124.2 kB / 0.5402 GB, free: 6.293 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.3572, allocations: 5.031 kB / 0.5402 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3573, allocations: 10.52 kB / 0.5402 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.3574, allocations: 5.594 kB / 0.5403 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.3574, allocations: 3.281 kB / 0.5403 GB, free: 6.285 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000744/0.3581, allocations: 0.6574 MB / 0.5409 GB, free: 5.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3581, allocations: 0 / 0.5409 GB, free: 5.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.3584, allocations: 34.06 kB / 0.5409 GB, free: 5.957 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002371/0.3608, allocations: 1.181 MB / 0.5421 GB, free: 5.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.3612, allocations: 106.7 kB / 0.5422 GB, free: 5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3612, allocations: 4 kB / 0.5422 GB, free: 4.996 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.3613, allocations: 66.91 kB / 0.5423 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.3618, allocations: 29.73 kB / 0.5423 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/0.3666, allocations: 3.453 MB / 0.5457 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/0.3671, allocations: 0.826 MB / 0.5465 GB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.3671, allocations: 16.56 kB / 0.5465 GB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3673, allocations: 111.4 kB / 0.5466 GB, free: 1.008 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3673, allocations: 0 / 0.5466 GB, free: 1.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.396, allocations: 6.567 MB / 0.553 GB, free: 10.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.693/9.089, allocations: 16.31 kB / 0.553 GB, free: 10.52 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1)