Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001812/0.001812, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, 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.2248/0.2248, allocations: 46.12 MB / 344.3 MB, free: 11.45 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.002357/0.002357, allocations: 83.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3227, allocations: 62.45 MB / 0.5306 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003388/0.3261, allocations: 1.654 MB / 0.5322 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3272, allocations: 0.5525 MB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.3273, allocations: 3.938 kB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.3279, allocations: 452.8 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004916/0.3284, allocations: 292.4 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.3288, allocations: 126.9 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.3291, allocations: 169.8 kB / 0.5338 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3292, allocations: 11.75 kB / 0.5338 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3294, allocations: 114 kB / 0.5339 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.3296, allocations: 211.1 kB / 0.5341 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3297, allocations: 2.844 kB / 0.5341 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3298, allocations: 36.67 kB / 0.5341 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.3299, allocations: 83.08 kB / 0.5342 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.33, allocations: 103.5 kB / 0.5343 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.3303, allocations: 261.5 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3303, allocations: 4 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3303, allocations: 0 / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3304, allocations: 1.531 kB / 0.5346 GB, free: 10.58 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.0008263/0.3312, allocations: 0.666 MB / 0.5352 GB, free: 9.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3312, allocations: 9.969 kB / 0.5352 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.3313, allocations: 35.81 kB / 0.5353 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.3313, allocations: 47.23 kB / 0.5353 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3317, allocations: 299.3 kB / 0.5356 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3317, allocations: 1.469 kB / 0.5356 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.3317, allocations: 10.62 kB / 0.5356 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3319, allocations: 54.2 kB / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3319, allocations: 0 / 0.5357 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3319, allocations: 9.031 kB / 0.5357 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.3319, allocations: 5.047 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.093e-05/0.332, allocations: 27.33 kB / 0.5357 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.3326, allocations: 395 kB / 0.5361 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.3328, allocations: 47.78 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.3328, allocations: 18.88 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3329, allocations: 1.312 kB / 0.5361 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3329, allocations: 31.91 kB / 0.5362 GB, free: 9.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3329, allocations: 0 / 0.5362 GB, free: 9.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006356/0.3335, allocations: 236.7 kB / 0.5364 GB, free: 8.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.3336, allocations: 52.25 kB / 0.5365 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009302/0.3345, allocations: 0.8727 MB / 0.5373 GB, free: 8.414 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3346, allocations: 25.7 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.3348, allocations: 230.1 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3348, allocations: 13.78 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3349, allocations: 21.98 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3351, allocations: 364.4 kB / 0.5379 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.3352, allocations: 14.92 kB / 0.5379 GB, free: 7.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.3353, allocations: 18.73 kB / 0.538 GB, free: 7.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.3354, allocations: 49.3 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3354, allocations: 0 / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003045/0.3358, allocations: 124.4 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3358, allocations: 4.531 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/0.3358, allocations: 1.188 kB / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3358, allocations: 0 / 0.5381 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.3359, allocations: 18.17 kB / 0.5381 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.336, allocations: 0 / 0.5381 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.336, allocations: 11.36 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3361, allocations: 10.28 kB / 0.5382 GB, free: 7.656 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 (5): * Single equations (assignments): 5 * 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.0002848/0.3364, allocations: 209.8 kB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.3364, allocations: 42.25 kB / 0.5384 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003251/0.3368, allocations: 140 kB / 0.5385 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3368, allocations: 0 / 0.5385 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3368, allocations: 1.125 kB / 0.5385 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3368, allocations: 3.938 kB / 0.5385 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000681/0.3375, allocations: 459.4 kB / 0.539 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3375, allocations: 5.594 kB / 0.539 GB, free: 6.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.102e-05/0.3376, allocations: 20.33 kB / 0.539 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3376, allocations: 1.406 kB / 0.539 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3376, allocations: 5.125 kB / 0.539 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3376, allocations: 0 / 0.539 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3376, allocations: 0 / 0.539 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.3379, allocations: 215.9 kB / 0.5392 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.338, allocations: 114 kB / 0.5393 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.3381, allocations: 9.312 kB / 0.5393 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.3381, allocations: 6.812 kB / 0.5393 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.3382, allocations: 6.516 kB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3382, allocations: 1.438 kB / 0.5394 GB, free: 6.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007271/0.3389, allocations: 0.6597 MB / 0.54 GB, free: 6.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3389, allocations: 0 / 0.54 GB, free: 6.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.3392, allocations: 22.59 kB / 0.54 GB, free: 6.328 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 (5): * Single equations (assignments): 5 * 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.002083/0.3413, allocations: 1.055 MB / 0.5411 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.3415, allocations: 44.22 kB / 0.5411 GB, free: 5.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3416, allocations: 7.938 kB / 0.5411 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.3416, allocations: 24.17 kB / 0.5411 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3421, allocations: 35.28 kB / 0.5412 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.3463, allocations: 3.248 MB / 0.5443 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.3468, allocations: 0.8182 MB / 0.5451 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.3469, allocations: 15.98 kB / 0.5451 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3471, allocations: 103.4 kB / 0.5452 GB, free: 2.297 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3471, allocations: 3.938 kB / 0.5452 GB, free: 2.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.3757, allocations: 6.061 MB / 0.5512 GB, free: 12.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.018, allocations: 5.969 kB / 0.5512 GB, free: 12.31 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_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_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1)