Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001627, 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.001936/0.001936, 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.501/1.501, 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.2237/0.2237, allocations: 46.12 MB / 344.4 MB, free: 11.48 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.002526/0.002526, allocations: 79.88 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3261, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.00292/0.329, allocations: 1.681 MB / 0.5323 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.33, allocations: 0.5505 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.3301, allocations: 1.188 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.3304, allocations: 56.45 kB / 0.5329 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002933/0.3307, allocations: 101.4 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.331, allocations: 138.7 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.3312, allocations: 79.2 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3313, allocations: 25.94 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.3314, allocations: 41.92 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3315, allocations: 52.86 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3315, allocations: 5.562 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3317, allocations: 48.77 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.3317, allocations: 19.92 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.452e-05/0.3318, allocations: 42.53 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.332, allocations: 114.2 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3321, allocations: 4 kB / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3321, allocations: 0 / 0.5335 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3321, allocations: 0 / 0.5335 GB, free: 11.22 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.0006356/0.3327, allocations: 429 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3328, allocations: 9.625 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.3328, allocations: 36.12 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3329, allocations: 12.97 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3331, allocations: 196.6 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3331, allocations: 5.75 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3331, allocations: 7.125 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3333, allocations: 71.41 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3333, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3333, allocations: 1.375 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3334, allocations: 1.375 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.3335, allocations: 37.97 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.3339, allocations: 311.1 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3342, allocations: 63.23 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.686e-05/0.3343, allocations: 25.34 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.3343, allocations: 4 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.3343, allocations: 35.92 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.956e-06/0.3343, allocations: 4 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001469/0.3358, allocations: 401.5 kB / 0.5351 GB, free: 9.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.3359, allocations: 52.78 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.3361, allocations: 195.3 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.3362, allocations: 25.7 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.3363, allocations: 114.3 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.3363, allocations: 35.47 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3364, allocations: 25.77 kB / 0.5355 GB, free: 9.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3365, allocations: 326.7 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3367, allocations: 43.31 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3368, allocations: 43.62 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.3371, allocations: 100.6 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3371, allocations: 3.984 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003218/0.3374, allocations: 146.6 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3374, allocations: 5.844 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3375, allocations: 0 / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3375, allocations: 7.938 kB / 0.5362 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3376, allocations: 24.36 kB / 0.5362 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.3376, allocations: 5.109 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.3377, allocations: 6.875 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3377, allocations: 2.375 kB / 0.5362 GB, free: 8.871 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.0001129/0.3378, allocations: 127.4 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3379, allocations: 14.34 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.3383, allocations: 173.9 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3383, allocations: 6.5 kB / 0.5365 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3383, allocations: 4 kB / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3383, allocations: 0 / 0.5365 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.339, allocations: 477 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.339, allocations: 0 / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3391, allocations: 32.91 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3391, allocations: 1.5 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3392, allocations: 2.375 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3392, allocations: 1 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3392, allocations: 1 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3396, allocations: 268.4 kB / 0.5373 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.3397, allocations: 88.11 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3397, allocations: 6.516 kB / 0.5374 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.3398, allocations: 10.62 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.3399, allocations: 11.89 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.3399, allocations: 3.875 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.34, allocations: 151.1 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.34, allocations: 0 / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.3403, allocations: 29.8 kB / 0.5376 GB, free: 7.715 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.002347/0.3427, allocations: 1.136 MB / 0.5387 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.343, allocations: 106.3 kB / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.343, allocations: 0 / 0.5388 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.3432, allocations: 63 kB / 0.5388 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3436, allocations: 27.03 kB / 0.5388 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.3461, allocations: 1.821 MB / 0.5406 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3466, allocations: 0.7092 MB / 0.5413 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.401e-05/0.3467, allocations: 22.56 kB / 0.5413 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.268e-05/0.3468, allocations: 38.23 kB / 0.5414 GB, free: 4.465 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3468, allocations: 1.719 kB / 0.5414 GB, free: 4.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.372, allocations: 3.381 MB / 0.5447 GB, free: 2.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.568, allocations: 8.25 kB / 0.5447 GB, free: 2.641 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1)