Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 122.8 kB / 17.79 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.001337/0.001337, allocations: 201.2 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.429/1.429, 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.2329/0.2329, allocations: 46.11 MB / 344.4 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.002442/0.002442, allocations: 83.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3477, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.004554/0.3523, allocations: 1.659 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3545, allocations: 1.17 MB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/0.3546, allocations: 3.938 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.3549, allocations: 25.06 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.3553, allocations: 89.3 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.3558, allocations: 129 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.356, allocations: 68.67 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3562, allocations: 20.42 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.3562, allocations: 30.73 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.3564, allocations: 39.8 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3565, allocations: 4.75 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.3567, allocations: 96.62 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.3568, allocations: 21.52 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.3568, allocations: 33.69 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.3572, allocations: 156.5 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3572, allocations: 0 / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3572, allocations: 0 / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3572, allocations: 0 / 0.5341 GB, free: 10.7 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.0006492/0.3579, allocations: 419.3 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3579, allocations: 9.75 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.358, allocations: 32.16 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.073e-05/0.358, allocations: 12.05 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3582, allocations: 202 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3583, allocations: 5.75 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3583, allocations: 11.08 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.3585, allocations: 73.2 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3585, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3585, allocations: 5.359 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3585, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3587, allocations: 40.53 kB / 0.5349 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.3591, allocations: 293.6 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3593, allocations: 47 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.3593, allocations: 23.94 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.3594, allocations: 9.422 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3594, allocations: 42.56 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3594, allocations: 5.312 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008309/0.3603, allocations: 202.9 kB / 0.5354 GB, free: 9.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3604, allocations: 86.42 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3605, allocations: 159.6 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3606, allocations: 25.7 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3607, allocations: 96.27 kB / 0.5358 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.3608, allocations: 30.48 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3608, allocations: 19.22 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.361, allocations: 321.6 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3611, allocations: 35.22 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.3612, allocations: 46.31 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.3615, allocations: 79.97 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3615, allocations: 1.062 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003071/0.3618, allocations: 115.1 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3618, allocations: 4.75 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3618, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3619, allocations: 1.344 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.362, allocations: 18.89 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.362, allocations: 4.062 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.3621, allocations: 14.83 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3621, allocations: 6.594 kB / 0.5365 GB, free: 8.453 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.0001148/0.3622, allocations: 121.6 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.3623, allocations: 8.266 kB / 0.5366 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.3627, allocations: 128.1 kB / 0.5367 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3627, allocations: 1.438 kB / 0.5367 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3627, allocations: 0 / 0.5367 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3627, allocations: 7.938 kB / 0.5367 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.3633, allocations: 389.2 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3634, allocations: 1.188 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.3635, allocations: 21.58 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3635, allocations: 9.141 kB / 0.5371 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3635, allocations: 5.062 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3635, allocations: 4 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3635, allocations: 1.062 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.3639, allocations: 206.7 kB / 0.5373 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.364, allocations: 87.39 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.364, allocations: 5.062 kB / 0.5374 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3641, allocations: 17.67 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.3642, allocations: 3.375 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.3642, allocations: 2.281 kB / 0.5374 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.3643, allocations: 119.4 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3643, allocations: 0 / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000316/0.3646, allocations: 42.27 kB / 0.5376 GB, free: 7.438 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.002476/0.3671, allocations: 1.143 MB / 0.5387 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.3675, allocations: 78.58 kB / 0.5388 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3675, allocations: 3.938 kB / 0.5388 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3677, allocations: 46.97 kB / 0.5388 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3681, allocations: 21.34 kB / 0.5389 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.3704, allocations: 1.589 MB / 0.5404 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.3708, allocations: 0.6964 MB / 0.5411 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.706e-05/0.3709, allocations: 16.89 kB / 0.5411 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.371, allocations: 35.66 kB / 0.5411 GB, free: 4.352 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.371, allocations: 1.312 kB / 0.5411 GB, free: 4.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.401, allocations: 3.504 MB / 0.5446 GB, free: 2.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.65, allocations: 8.031 kB / 0.5446 GB, free: 2.379 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12_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_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1)