Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002164, allocations: 204.7 kB / 18.74 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.469/1.469, allocations: 227.4 MB / 247 MB, free: 10.42 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.2282/0.2282, allocations: 46.12 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.002342/0.002342, allocations: 83.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3154, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.003203/0.3186, allocations: 1.612 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3198, allocations: 0.5273 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3199, allocations: 1.906 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006032/0.3205, allocations: 456.1 kB / 0.5332 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.321, allocations: 297 kB / 0.5334 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.3215, allocations: 128.5 kB / 0.5336 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.3218, allocations: 164.7 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3219, allocations: 9.688 kB / 0.5337 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.322, allocations: 110.1 kB / 0.5338 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.3223, allocations: 209.2 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.3223, allocations: 10.22 kB / 0.534 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.377e-05/0.3224, allocations: 19.41 kB / 0.5341 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3225, allocations: 86.2 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.3226, allocations: 98.53 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.3229, allocations: 257.7 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.3229, allocations: 0 / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3229, allocations: 1.375 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3229, allocations: 0 / 0.5345 GB, free: 10.78 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.0008344/0.3238, allocations: 0.654 MB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3238, allocations: 13.38 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.3239, allocations: 38.62 kB / 0.5352 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.3239, allocations: 46.95 kB / 0.5352 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.3243, allocations: 298.9 kB / 0.5355 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.3243, allocations: 1.562 kB / 0.5355 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.3243, allocations: 6.5 kB / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3245, allocations: 47.81 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3245, allocations: 0 / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.3245, allocations: 0 / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3245, allocations: 1.156 kB / 0.5356 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.3246, allocations: 28.25 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.3252, allocations: 379.3 kB / 0.5359 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.3253, allocations: 27.72 kB / 0.536 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.3254, allocations: 18.12 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3254, allocations: 1.406 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3254, allocations: 35.88 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3254, allocations: 0 / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003048/0.3257, allocations: 101.4 kB / 0.5361 GB, free: 9.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3258, allocations: 56.81 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.3267, allocations: 0.8681 MB / 0.537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3268, allocations: 25.7 kB / 0.537 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.327, allocations: 227.1 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.327, allocations: 11.89 kB / 0.5373 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.327, allocations: 21.02 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3272, allocations: 359.1 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.3273, allocations: 13.61 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/0.3273, allocations: 4.906 kB / 0.5377 GB, free: 8.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.3274, allocations: 28.69 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3274, allocations: 4.062 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001546/0.3276, allocations: 90.31 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3276, allocations: 5.188 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3276, allocations: 0 / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3276, allocations: 1.188 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.734e-05/0.3277, allocations: 15.45 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.3277, allocations: 1.188 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.3278, allocations: 2.219 kB / 0.5378 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.3278, allocations: 5.094 kB / 0.5378 GB, free: 8.016 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.0001948/0.328, allocations: 217.2 kB / 0.538 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.328, allocations: 46.16 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.3283, allocations: 103.7 kB / 0.5381 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3283, allocations: 0 / 0.5381 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3283, allocations: 0 / 0.5381 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3283, allocations: 1.219 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.3286, allocations: 287.1 kB / 0.5384 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3286, allocations: 5.141 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.3287, allocations: 8.281 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3287, allocations: 0 / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3287, allocations: 1.125 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3287, allocations: 0 / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3287, allocations: 1.281 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.3289, allocations: 196.4 kB / 0.5386 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.329, allocations: 122.2 kB / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.329, allocations: 0 / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.3291, allocations: 6.141 kB / 0.5387 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-06/0.3291, allocations: 1.125 kB / 0.5388 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.3291, allocations: 1.156 kB / 0.5388 GB, free: 7.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006604/0.3298, allocations: 0.6628 MB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3298, allocations: 1.188 kB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3301, allocations: 13.94 kB / 0.5394 GB, free: 6.863 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.00162/0.3317, allocations: 0.9676 MB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.3319, allocations: 25.61 kB / 0.5404 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3319, allocations: 0 / 0.5404 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.837e-05/0.3319, allocations: 11.45 kB / 0.5404 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3323, allocations: 29.27 kB / 0.5404 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.336, allocations: 3.148 MB / 0.5435 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.3365, allocations: 0.8253 MB / 0.5443 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.3366, allocations: 13.33 kB / 0.5443 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3367, allocations: 110.8 kB / 0.5444 GB, free: 3.102 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3368, allocations: 0 / 0.5444 GB, free: 3.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.3674, allocations: 5.742 MB / 0.55 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.648/9.016, allocations: 9.969 kB / 0.55 GB, free: 13.56 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1)