Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, 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.00131/0.00131, 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.47/1.47, allocations: 227.4 MB / 247 MB, free: 10.43 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.2508/0.2508, allocations: 46.12 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.002517/0.002517, allocations: 79.86 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3687, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003569/0.3723, allocations: 2.043 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.3743, allocations: 1.023 MB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.3744, allocations: 1.438 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004786/0.375, allocations: 253.1 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.3755, allocations: 258 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.3766, allocations: 498.5 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.377, allocations: 324.8 kB / 0.5349 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3772, allocations: 64.69 kB / 0.5349 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3774, allocations: 139.6 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.3777, allocations: 213.2 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.3778, allocations: 11.22 kB / 0.5353 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.378, allocations: 98.8 kB / 0.5354 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3782, allocations: 83.75 kB / 0.5355 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3783, allocations: 136.9 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.3788, allocations: 361.8 kB / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3788, allocations: 0 / 0.5359 GB, free: 9.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3788, allocations: 5 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3789, allocations: 0 / 0.5359 GB, free: 9.527 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009883/0.3799, allocations: 0.7017 MB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3799, allocations: 10.34 kB / 0.5366 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.38, allocations: 41.42 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.3801, allocations: 48.55 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.3806, allocations: 336.2 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3806, allocations: 15.66 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.3806, allocations: 12.06 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3809, allocations: 115.1 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3809, allocations: 0 / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.3809, allocations: 5.094 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.381, allocations: 3.406 kB / 0.5372 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.3811, allocations: 66.3 kB / 0.5373 GB, free: 8.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.3819, allocations: 0.5078 MB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3822, allocations: 91.08 kB / 0.5378 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.3823, allocations: 33.16 kB / 0.5379 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.3823, allocations: 6.141 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3824, allocations: 35.53 kB / 0.5379 GB, free: 7.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.3824, allocations: 4 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001046/0.3834, allocations: 400.2 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.3835, allocations: 54.38 kB / 0.5383 GB, free: 7.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.3843, allocations: 0.589 MB / 0.5389 GB, free: 7.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3843, allocations: 30.95 kB / 0.539 GB, free: 7.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.3846, allocations: 219 kB / 0.5392 GB, free: 6.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.3846, allocations: 61.89 kB / 0.5392 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-05/0.3847, allocations: 33.8 kB / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3849, allocations: 356.2 kB / 0.5396 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.3851, allocations: 45.97 kB / 0.5396 GB, free: 6.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3852, allocations: 53.78 kB / 0.5397 GB, free: 6.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3855, allocations: 122.1 kB / 0.5398 GB, free: 6.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3855, allocations: 4.875 kB / 0.5398 GB, free: 6.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004364/0.386, allocations: 199.9 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.386, allocations: 4.5 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.386, allocations: 1.125 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.386, allocations: 1.188 kB / 0.54 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.3862, allocations: 38.33 kB / 0.54 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3862, allocations: 4.734 kB / 0.54 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.3863, allocations: 9.25 kB / 0.5401 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3863, allocations: 5.281 kB / 0.5401 GB, free: 6.277 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 (17): * Single equations (assignments): 17 * 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.0001981/0.3866, allocations: 183.5 kB / 0.5402 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.3866, allocations: 41.69 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005452/0.3872, allocations: 243.5 kB / 0.5405 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3872, allocations: 2.281 kB / 0.5405 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.3872, allocations: 0 / 0.5405 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3872, allocations: 5.141 kB / 0.5405 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3883, allocations: 0.6486 MB / 0.5411 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3883, allocations: 4 kB / 0.5412 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.3885, allocations: 38.25 kB / 0.5412 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3885, allocations: 0.875 kB / 0.5412 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3885, allocations: 6.656 kB / 0.5412 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3885, allocations: 3.938 kB / 0.5412 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3885, allocations: 1.344 kB / 0.5412 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005029/0.389, allocations: 294 kB / 0.5415 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.3892, allocations: 127.8 kB / 0.5416 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.3892, allocations: 1.312 kB / 0.5416 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3893, allocations: 12.25 kB / 0.5416 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3894, allocations: 10.11 kB / 0.5416 GB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3894, allocations: 8.578 kB / 0.5416 GB, free: 5.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.3901, allocations: 440.5 kB / 0.5421 GB, free: 4.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3901, allocations: 4 kB / 0.5421 GB, free: 4.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000362/0.3904, allocations: 53.11 kB / 0.5421 GB, free: 4.785 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 (17): * Single equations (assignments): 17 * 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.003621/0.3941, allocations: 1.425 MB / 0.5435 GB, free: 3.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003794/0.3945, allocations: 135.1 kB / 0.5436 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3945, allocations: 0 / 0.5436 GB, free: 3.746 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.3946, allocations: 75.53 kB / 0.5437 GB, free: 3.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.3953, allocations: 83.14 kB / 0.5438 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.3999, allocations: 3.184 MB / 0.5469 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.4004, allocations: 0.8142 MB / 0.5477 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.4006, allocations: 54.23 kB / 0.5477 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.4008, allocations: 127.5 kB / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4009, allocations: 0 / 0.5479 GB, free: 15.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.4338, allocations: 7.649 MB / 0.5553 GB, free: 8.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/8.948, allocations: 9.078 kB / 0.5553 GB, free: 8.324 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1)