Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 118.2 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.001726/0.001726, allocations: 197.2 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.495/1.495, allocations: 227.4 MB / 247 MB, free: 10.41 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.2216/0.2216, allocations: 46.11 MB / 344.3 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.002305/0.002305, allocations: 71.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3284, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003907/0.3323, allocations: 1.661 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.3348, allocations: 1.17 MB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.335, allocations: 0.8125 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.3352, allocations: 20.77 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.3356, allocations: 90.45 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003317/0.3359, allocations: 136.1 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.3361, allocations: 76.62 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.3362, allocations: 12.25 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.3362, allocations: 30.86 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.3364, allocations: 34.83 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3364, allocations: 5.5 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.3366, allocations: 104.1 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.3367, allocations: 21.42 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.09e-05/0.3368, allocations: 29.36 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.3371, allocations: 148.7 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3371, allocations: 1.375 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3371, allocations: 0 / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3371, allocations: 0 / 0.5341 GB, free: 10.73 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.0007166/0.3378, allocations: 426.2 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.3379, allocations: 9.625 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.338, allocations: 40.11 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.338, allocations: 9.016 kB / 0.5345 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.3383, allocations: 196.5 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3383, allocations: 5.75 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3383, allocations: 7.078 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3385, allocations: 77.14 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3386, allocations: 0 / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3386, allocations: 1.344 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3386, allocations: 0 / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3387, allocations: 45.3 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3392, allocations: 287.7 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.3393, allocations: 55.7 kB / 0.5352 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.3394, allocations: 24.47 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3394, allocations: 4 kB / 0.5352 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3394, allocations: 31.84 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3394, allocations: 0 / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007804/0.3402, allocations: 212.1 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3403, allocations: 87.31 kB / 0.5355 GB, free: 9.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3405, allocations: 150.2 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3405, allocations: 26.8 kB / 0.5357 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.3406, allocations: 103.6 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3406, allocations: 22.66 kB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3407, allocations: 27.17 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3408, allocations: 318.2 kB / 0.5361 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.341, allocations: 42.25 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3411, allocations: 50.72 kB / 0.5362 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3413, allocations: 81.14 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3413, allocations: 3.938 kB / 0.5363 GB, free: 8.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000283/0.3416, allocations: 111.2 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3417, allocations: 5.188 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3417, allocations: 0 / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3417, allocations: 1.5 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3418, allocations: 22.33 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3418, allocations: 0 / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.805e-05/0.3419, allocations: 19.36 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3419, allocations: 5.188 kB / 0.5365 GB, free: 8.469 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.0001016/0.342, allocations: 118.8 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3421, allocations: 8.266 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.3424, allocations: 119.8 kB / 0.5367 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3424, allocations: 5.359 kB / 0.5367 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3424, allocations: 4 kB / 0.5367 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3424, allocations: 5.312 kB / 0.5367 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.343, allocations: 400.5 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.343, allocations: 0 / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.492e-05/0.3431, allocations: 18.7 kB / 0.5371 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3431, allocations: 1.562 kB / 0.5371 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3431, allocations: 3.938 kB / 0.5371 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3431, allocations: 5.5 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3432, allocations: 0 / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.3435, allocations: 205.7 kB / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.3436, allocations: 92.36 kB / 0.5374 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.3436, allocations: 4.969 kB / 0.5374 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.3437, allocations: 14.48 kB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.3437, allocations: 10.09 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3438, allocations: 6.219 kB / 0.5375 GB, free: 7.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3439, allocations: 124.1 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3439, allocations: 0 / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.3442, allocations: 38.94 kB / 0.5376 GB, free: 7.449 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.002254/0.3465, allocations: 1.126 MB / 0.5387 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3468, allocations: 83.56 kB / 0.5388 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3468, allocations: 0 / 0.5388 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3469, allocations: 49.3 kB / 0.5388 GB, free: 6.523 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.3473, allocations: 22.19 kB / 0.5389 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3493, allocations: 1.585 MB / 0.5404 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3497, allocations: 0.696 MB / 0.5411 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.3497, allocations: 13.81 kB / 0.5411 GB, free: 4.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.3498, allocations: 32.77 kB / 0.5411 GB, free: 4.379 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3498, allocations: 4 kB / 0.5411 GB, free: 4.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.376, allocations: 3.504 MB / 0.5446 GB, free: 2.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.792, allocations: 6.656 kB / 0.5446 GB, free: 2.402 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10_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_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1)