Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001233/0.001233, allocations: 117.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.001328/0.001328, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, 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.2456/0.2456, 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.002307/0.002307, allocations: 79.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3388, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003864/0.3427, allocations: 1.619 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.344, allocations: 0.5306 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.3441, allocations: 1.156 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.345, allocations: 456.8 kB / 0.5332 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.3454, allocations: 291.7 kB / 0.5334 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3458, allocations: 118.3 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.346, allocations: 163.6 kB / 0.5337 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3462, allocations: 19.05 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3463, allocations: 105.5 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.3465, allocations: 209.7 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3465, allocations: 2.031 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.3466, allocations: 27.09 kB / 0.5341 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.3468, allocations: 86.03 kB / 0.5341 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.3469, allocations: 98.47 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.3472, allocations: 258.4 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3472, allocations: 0 / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3472, allocations: 0 / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3472, allocations: 1.156 kB / 0.5345 GB, free: 10.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007872/0.348, allocations: 0.6453 MB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3481, allocations: 16.91 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.3481, allocations: 35.84 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.3482, allocations: 51.02 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.3485, allocations: 304 kB / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3485, allocations: 384 / 0.5355 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3485, allocations: 6.75 kB / 0.5355 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3487, allocations: 50.77 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3487, allocations: 5.391 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3487, allocations: 0 / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3487, allocations: 0 / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.3488, allocations: 25.48 kB / 0.5356 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.3494, allocations: 383 kB / 0.5359 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.479e-05/0.3495, allocations: 27.06 kB / 0.536 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.3495, allocations: 14.77 kB / 0.536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3496, allocations: 1.438 kB / 0.536 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3496, allocations: 30.56 kB / 0.536 GB, free: 9.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3496, allocations: 5.344 kB / 0.536 GB, free: 9.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002706/0.3499, allocations: 101.2 kB / 0.5361 GB, free: 9.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3499, allocations: 52.69 kB / 0.5362 GB, free: 9.164 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009341/0.3509, allocations: 0.8721 MB / 0.537 GB, free: 8.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3509, allocations: 25.7 kB / 0.537 GB, free: 8.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.3511, allocations: 230.6 kB / 0.5373 GB, free: 8.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.3512, allocations: 8.641 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.3512, allocations: 19.78 kB / 0.5373 GB, free: 8.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3514, allocations: 360.5 kB / 0.5376 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.3515, allocations: 12.92 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.3515, allocations: 9.953 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.752e-05/0.3516, allocations: 23.45 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.3516, allocations: 0.5312 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.3518, allocations: 98.3 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3518, allocations: 6.906 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3518, allocations: 1.219 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3518, allocations: 0 / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.159e-05/0.3519, allocations: 7.938 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3519, allocations: 1.312 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.562e-05/0.352, allocations: 6.641 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.352, allocations: 3.938 kB / 0.5378 GB, free: 8.027 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 (2): * Single equations (assignments): 2 * 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.0001976/0.3522, allocations: 209.3 kB / 0.538 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/0.3523, allocations: 42.84 kB / 0.538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.3525, allocations: 115.7 kB / 0.5381 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3525, allocations: 0 / 0.5381 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3525, allocations: 0 / 0.5381 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3525, allocations: 5.469 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.3528, allocations: 287.6 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3528, allocations: 0 / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.3529, allocations: 4.344 kB / 0.5384 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3529, allocations: 4.031 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.3529, allocations: 1.625 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3529, allocations: 3.984 kB / 0.5384 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.3529, allocations: 0 / 0.5384 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.3532, allocations: 188.6 kB / 0.5386 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.523e-05/0.3533, allocations: 123.1 kB / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.3533, allocations: 0 / 0.5387 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.3534, allocations: 6.875 kB / 0.5387 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.3534, allocations: 1.344 kB / 0.5387 GB, free: 7.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.3534, allocations: 0 / 0.5387 GB, free: 7.203 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000736/0.3542, allocations: 0.6627 MB / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3542, allocations: 1.062 kB / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.3544, allocations: 14.66 kB / 0.5394 GB, free: 6.879 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 (2): * Single equations (assignments): 2 * 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.001752/0.3562, allocations: 0.9593 MB / 0.5403 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3563, allocations: 37.03 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3564, allocations: 0 / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.3564, allocations: 7.75 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3568, allocations: 32.47 kB / 0.5404 GB, free: 6.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.3607, allocations: 3.153 MB / 0.5435 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3612, allocations: 0.8178 MB / 0.5443 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.3612, allocations: 25.22 kB / 0.5443 GB, free: 3.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.3614, allocations: 115.1 kB / 0.5444 GB, free: 3.102 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3614, allocations: 0 / 0.5444 GB, free: 3.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/0.3898, allocations: 5.743 MB / 0.55 GB, free: 13.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.679/9.069, allocations: 9.281 kB / 0.55 GB, free: 13.62 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7_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_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1)