Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 247 MB, free: 10.39 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.2272/0.2272, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002273/0.002273, allocations: 76.16 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3613, allocations: 62.46 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003087/0.3644, allocations: 1.656 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.3662, allocations: 1.2 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.3663, allocations: 5.812 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.3665, allocations: 27.41 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.3668, allocations: 86.62 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.3672, allocations: 176.6 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.3674, allocations: 79.44 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.3675, allocations: 13.62 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.3676, allocations: 38.78 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.3677, allocations: 37.59 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3678, allocations: 4.125 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.368, allocations: 104.1 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.368, allocations: 26.73 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.937e-05/0.3681, allocations: 30.67 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3684, allocations: 154.2 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.3684, allocations: 0 / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3684, allocations: 1.375 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3684, allocations: 0 / 0.5342 GB, free: 10.65 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.0006299/0.3691, allocations: 427.7 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3691, allocations: 8.25 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.3691, allocations: 36.06 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.3692, allocations: 13.02 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.3694, allocations: 200.6 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3695, allocations: 1.75 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.3695, allocations: 5.75 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3697, allocations: 83.88 kB / 0.5349 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3697, allocations: 3.984 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.3697, allocations: 0 / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3697, allocations: 1.375 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.3699, allocations: 51.27 kB / 0.535 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.3704, allocations: 315.1 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3705, allocations: 40.44 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.3706, allocations: 29.03 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3707, allocations: 1.344 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.3707, allocations: 43.86 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3707, allocations: 0 / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008777/0.3716, allocations: 227 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.3717, allocations: 82.3 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.3719, allocations: 159.7 kB / 0.5358 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3719, allocations: 25.7 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.168e-05/0.372, allocations: 108.5 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.372, allocations: 18.05 kB / 0.536 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.372, allocations: 24.45 kB / 0.536 GB, free: 8.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3722, allocations: 321.1 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.3723, allocations: 41.83 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3725, allocations: 53.31 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.3727, allocations: 95.98 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3728, allocations: 0 / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003119/0.3731, allocations: 124.9 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3731, allocations: 5.25 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3731, allocations: 0 / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3731, allocations: 1 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3732, allocations: 18.48 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3733, allocations: 1.125 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.152e-05/0.3734, allocations: 30.08 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3734, allocations: 2.594 kB / 0.5367 GB, free: 8.355 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 (7): * Single equations (assignments): 7 * 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.0001034/0.3735, allocations: 119.2 kB / 0.5368 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3735, allocations: 12.06 kB / 0.5368 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3739, allocations: 138.5 kB / 0.5369 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3739, allocations: 5.094 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3739, allocations: 1.656 kB / 0.5369 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3739, allocations: 7.875 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.3746, allocations: 415.4 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3746, allocations: 0 / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3747, allocations: 22.33 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3747, allocations: 5.062 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3747, allocations: 4.906 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3747, allocations: 1.094 kB / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3747, allocations: 0 / 0.5374 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.3751, allocations: 220.8 kB / 0.5376 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.3752, allocations: 91.42 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.3753, allocations: 9.344 kB / 0.5377 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3754, allocations: 9.391 kB / 0.5377 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3754, allocations: 7.984 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3754, allocations: 1.469 kB / 0.5377 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.3756, allocations: 122.7 kB / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.345e-06/0.3756, allocations: 0 / 0.5378 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.3759, allocations: 44.19 kB / 0.5378 GB, free: 7.312 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 (7): * Single equations (assignments): 7 * 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.002335/0.3782, allocations: 1.145 MB / 0.539 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3786, allocations: 92.36 kB / 0.539 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3786, allocations: 5.188 kB / 0.539 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3788, allocations: 44.41 kB / 0.5391 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3792, allocations: 15.61 kB / 0.5391 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3814, allocations: 1.639 MB / 0.5407 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3818, allocations: 0.7067 MB / 0.5414 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3819, allocations: 30.7 kB / 0.5414 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.14e-05/0.382, allocations: 39.5 kB / 0.5415 GB, free: 4.188 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.382, allocations: 0 / 0.5415 GB, free: 4.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.4091, allocations: 3.602 MB / 0.545 GB, free: 2.168 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.394, allocations: 10.11 kB / 0.545 GB, free: 2.16 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)