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.001386/0.001386, allocations: 122.1 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.001312/0.001312, allocations: 202 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.469/1.469, allocations: 227.4 MB / 247 MB, free: 10.46 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.2307/0.2307, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.00233/0.00233, allocations: 79.88 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3182, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003277/0.3215, allocations: 1.685 MB / 0.5323 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3226, allocations: 0.5514 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.3226, allocations: 1.125 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006008/0.3232, allocations: 461.4 kB / 0.5333 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.3237, allocations: 283.6 kB / 0.5335 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3241, allocations: 146.9 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.3244, allocations: 178.5 kB / 0.5338 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3245, allocations: 16.47 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.3248, allocations: 120.2 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.325, allocations: 215.6 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.325, allocations: 3.688 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3252, allocations: 52.94 kB / 0.5342 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3253, allocations: 82.88 kB / 0.5343 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.3254, allocations: 112.2 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.3258, allocations: 282.9 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3259, allocations: 1.094 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3259, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3259, allocations: 0 / 0.5347 GB, free: 10.66 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.0009035/0.3268, allocations: 0.6837 MB / 0.5354 GB, free: 10.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.3268, allocations: 13.86 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.3269, allocations: 32.16 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.373e-05/0.327, allocations: 48.16 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.3273, allocations: 300.1 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3273, allocations: 1.469 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3274, allocations: 4.188 kB / 0.5357 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3276, allocations: 74.56 kB / 0.5358 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3276, allocations: 4.938 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3276, allocations: 1.094 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3276, allocations: 1.438 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3278, allocations: 34.25 kB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.3283, allocations: 411.5 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.3286, allocations: 59.95 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.3287, allocations: 23.69 kB / 0.5363 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3287, allocations: 5.172 kB / 0.5363 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3288, allocations: 31.81 kB / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.947e-06/0.3288, allocations: 0 / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001632/0.3304, allocations: 494.7 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3305, allocations: 52.59 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009861/0.3315, allocations: 0.8666 MB / 0.5377 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.3315, allocations: 29.7 kB / 0.5378 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3317, allocations: 217 kB / 0.538 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.3318, allocations: 40.06 kB / 0.538 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3319, allocations: 29.52 kB / 0.538 GB, free: 8.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3321, allocations: 360.9 kB / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.3322, allocations: 46.08 kB / 0.5384 GB, free: 7.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3323, allocations: 44.38 kB / 0.5385 GB, free: 7.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.3326, allocations: 104.8 kB / 0.5386 GB, free: 7.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3326, allocations: 0 / 0.5386 GB, free: 7.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003781/0.333, allocations: 176 kB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.333, allocations: 5.438 kB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.333, allocations: 0 / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3331, allocations: 5.125 kB / 0.5387 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3332, allocations: 24.36 kB / 0.5388 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3332, allocations: 5.125 kB / 0.5388 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-05/0.3333, allocations: 14.17 kB / 0.5388 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3333, allocations: 2.125 kB / 0.5388 GB, free: 7.504 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.0002168/0.3335, allocations: 215.3 kB / 0.539 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.3336, allocations: 46.73 kB / 0.539 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.3341, allocations: 209.8 kB / 0.5392 GB, free: 7.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.443e-06/0.3341, allocations: 5.281 kB / 0.5392 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3341, allocations: 1.281 kB / 0.5392 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3341, allocations: 0 / 0.5392 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008476/0.335, allocations: 0.5747 MB / 0.5398 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.335, allocations: 5.188 kB / 0.5398 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3351, allocations: 27.86 kB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3351, allocations: 1.281 kB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3351, allocations: 2.719 kB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3351, allocations: 1.25 kB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3352, allocations: 0.9688 kB / 0.5398 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.3356, allocations: 294.1 kB / 0.5401 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.524e-05/0.3357, allocations: 119.5 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3358, allocations: 1.094 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3359, allocations: 14.2 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.3359, allocations: 5.594 kB / 0.5403 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.336, allocations: 6.922 kB / 0.5403 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006804/0.3366, allocations: 0.6584 MB / 0.5409 GB, free: 6.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3367, allocations: 3.938 kB / 0.5409 GB, free: 6 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002933/0.337, allocations: 36.61 kB / 0.5409 GB, free: 5.988 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.00231/0.3393, allocations: 1.175 MB / 0.5421 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3396, allocations: 113.8 kB / 0.5422 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3396, allocations: 1.156 kB / 0.5422 GB, free: 5.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3398, allocations: 66.42 kB / 0.5423 GB, free: 5.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3402, allocations: 22.5 kB / 0.5423 GB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.3448, allocations: 3.451 MB / 0.5457 GB, free: 2.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.3454, allocations: 0.8299 MB / 0.5465 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.583e-05/0.3455, allocations: 16.55 kB / 0.5465 GB, free: 1.176 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.3457, allocations: 115.4 kB / 0.5466 GB, free: 1.066 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3457, allocations: 4 kB / 0.5466 GB, free: 1.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.3765, allocations: 6.562 MB / 0.553 GB, free: 10.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.701/9.077, allocations: 5.906 kB / 0.553 GB, free: 10.59 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3_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_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1)