Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 197.2 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 247 MB, free: 10.4 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.2372/0.2372, allocations: 46.12 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.00332/0.00332, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3724, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.004373/0.3768, allocations: 1.648 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3779, allocations: 0.6799 MB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.378, allocations: 1.938 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.3782, allocations: 35.33 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.3785, allocations: 40.97 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.3785, allocations: 0 / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3786, allocations: 38.98 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.3787, allocations: 6.906 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.3787, allocations: 9.75 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.124e-05/0.3788, allocations: 18.16 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.3788, allocations: 1.469 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.461e-05/0.3789, allocations: 11.44 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.379, allocations: 19.83 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.379, allocations: 20.41 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3792, allocations: 72.3 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3792, allocations: 0 / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3792, allocations: 0 / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3792, allocations: 1.5 kB / 0.5331 GB, free: 11.38 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005443/0.3798, allocations: 367.5 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3798, allocations: 9.219 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.3799, allocations: 43.11 kB / 0.5335 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3799, allocations: 6.359 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.3801, allocations: 179.6 kB / 0.5337 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3802, allocations: 6.125 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3802, allocations: 6.172 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.3804, allocations: 119.5 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3804, allocations: 5.719 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3805, allocations: 3.984 kB / 0.5339 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/0.3805, allocations: 32.5 kB / 0.5339 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.929e-05/0.3806, allocations: 42.2 kB / 0.5339 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008792/0.3815, allocations: 0.8817 MB / 0.5348 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.3816, allocations: 170.5 kB / 0.535 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.654e-05/0.3817, allocations: 85.45 kB / 0.535 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.3817, allocations: 75.28 kB / 0.5351 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.3818, allocations: 115.2 kB / 0.5352 GB, free: 9.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.3818, allocations: 4 kB / 0.5352 GB, free: 9.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.967e-05/0.3819, allocations: 41.67 kB / 0.5353 GB, free: 9.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.382, allocations: 126.7 kB / 0.5354 GB, free: 9.016 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3822, allocations: 182.3 kB / 0.5356 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.3822, allocations: 25.7 kB / 0.5356 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3823, allocations: 155.8 kB / 0.5357 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.3823, allocations: 1.375 kB / 0.5357 GB, free: 8.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.3824, allocations: 40.8 kB / 0.5358 GB, free: 8.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3825, allocations: 325.6 kB / 0.5361 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.3826, allocations: 35.22 kB / 0.5361 GB, free: 8.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3827, allocations: 151.1 kB / 0.5363 GB, free: 8.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.383, allocations: 207.6 kB / 0.5365 GB, free: 7.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.383, allocations: 1.375 kB / 0.5365 GB, free: 7.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003062/0.3833, allocations: 209.6 kB / 0.5367 GB, free: 7.801 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3833, allocations: 6.875 kB / 0.5367 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3833, allocations: 8.156 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3833, allocations: 6.875 kB / 0.5367 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3835, allocations: 36.61 kB / 0.5367 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3835, allocations: 13.27 kB / 0.5367 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-05/0.3836, allocations: 24.92 kB / 0.5368 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3836, allocations: 9.812 kB / 0.5368 GB, free: 7.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001675/0.3838, allocations: 213.2 kB / 0.537 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/0.3839, allocations: 112.8 kB / 0.5371 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.847e-05/0.384, allocations: 126.5 kB / 0.5372 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.762e-05/0.384, allocations: 180.2 kB / 0.5374 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.243e-05/0.3841, allocations: 189.5 kB / 0.5375 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/0.3842, allocations: 177.5 kB / 0.5377 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.3845, allocations: 429 kB / 0.5381 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/0.3846, allocations: 105.8 kB / 0.5382 GB, free: 6.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.3846, allocations: 101.8 kB / 0.5383 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.184e-05/0.3847, allocations: 185.1 kB / 0.5385 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.75e-05/0.3848, allocations: 177.6 kB / 0.5387 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.039e-05/0.3849, allocations: 185.6 kB / 0.5388 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-05/0.385, allocations: 176.3 kB / 0.539 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.3851, allocations: 323.2 kB / 0.5393 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.3852, allocations: 183.8 kB / 0.5395 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3854, allocations: 190.4 kB / 0.5397 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.3855, allocations: 101 kB / 0.5398 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.3855, allocations: 181.5 kB / 0.5399 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.3856, allocations: 110.1 kB / 0.5401 GB, free: 4.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.3857, allocations: 130 kB / 0.5402 GB, free: 4.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3857, allocations: 0 / 0.5402 GB, free: 4.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000299/0.386, allocations: 15.78 kB / 0.5402 GB, free: 4.121 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 (0): * Single equations (assignments): 0 * 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.001043/0.3871, allocations: 0.9115 MB / 0.5411 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.3873, allocations: 70.81 kB / 0.5411 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3873, allocations: 1.094 kB / 0.5411 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.791e-06/0.3873, allocations: 7.938 kB / 0.5412 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3877, allocations: 463.1 kB / 0.5416 GB, free: 2.777 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3896, allocations: 1.882 MB / 0.5434 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.39, allocations: 0.7003 MB / 0.5441 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.3902, allocations: 50.52 kB / 0.5442 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3903, allocations: 25.67 kB / 0.5442 GB, free: 180 kB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3903, allocations: 0 / 0.5442 GB, free: 180 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.4157, allocations: 2.123 MB / 0.5463 GB, free: 15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.421, allocations: 7.719 kB / 0.5463 GB, free: 15 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1)