Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001251/0.001251, allocations: 122.8 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.001319/0.001319, allocations: 202 kB / 18.73 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.473/1.473, 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.2354/0.2354, allocations: 46.12 MB / 344.4 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.002567/0.002567, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3333, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003014/0.3364, allocations: 1.688 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3375, allocations: 0.5532 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.3376, allocations: 0 / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.3378, allocations: 66.47 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.3382, allocations: 105.1 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.3385, allocations: 142.5 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3387, allocations: 85.12 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3388, allocations: 25.09 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.3389, allocations: 36.03 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.339, allocations: 54.78 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.339, allocations: 5.25 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3391, allocations: 48.77 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.3392, allocations: 24.94 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.3392, allocations: 47.39 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3395, allocations: 115.4 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3395, allocations: 5.438 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3395, allocations: 0 / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3395, allocations: 0 / 0.5335 GB, free: 11.16 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.0005819/0.3401, allocations: 438.2 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3401, allocations: 9.625 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.3402, allocations: 32.12 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.3402, allocations: 14.34 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3404, allocations: 208.5 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.3404, allocations: 3.125 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.3405, allocations: 7.125 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3407, allocations: 67.47 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3407, allocations: 0 / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3407, allocations: 4 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3407, allocations: 1.375 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.3408, allocations: 39.28 kB / 0.5343 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000417/0.3413, allocations: 316.4 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.3415, allocations: 55.34 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.3416, allocations: 31.94 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.3416, allocations: 1.375 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3417, allocations: 31.94 kB / 0.5348 GB, free: 9.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3417, allocations: 4 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001482/0.3432, allocations: 419.2 kB / 0.5352 GB, free: 9.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.3432, allocations: 53.38 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3434, allocations: 215.2 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3435, allocations: 26.55 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.3435, allocations: 114.7 kB / 0.5355 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.3436, allocations: 39.44 kB / 0.5356 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3437, allocations: 29.61 kB / 0.5356 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3438, allocations: 322.5 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.344, allocations: 47.72 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3441, allocations: 40.16 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.3443, allocations: 103.8 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3444, allocations: 4.938 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003224/0.3447, allocations: 138.9 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3447, allocations: 4.781 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3447, allocations: 1.375 kB / 0.5362 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3447, allocations: 7.938 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3449, allocations: 36.53 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3449, allocations: 1.188 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.3449, allocations: 5.75 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.345, allocations: 6.297 kB / 0.5363 GB, free: 8.77 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.000105/0.3451, allocations: 126.3 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.3451, allocations: 13.12 kB / 0.5364 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.3455, allocations: 176.7 kB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3456, allocations: 5.188 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3456, allocations: 0 / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3456, allocations: 1.25 kB / 0.5366 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.3463, allocations: 477.6 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3463, allocations: 0.9375 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3464, allocations: 29.42 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.3464, allocations: 1.375 kB / 0.5371 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3464, allocations: 5.484 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.3465, allocations: 1.438 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3465, allocations: 1.656 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.3468, allocations: 263 kB / 0.5374 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.809e-05/0.3469, allocations: 93.38 kB / 0.5374 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.347, allocations: 10.09 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3471, allocations: 14.83 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.3471, allocations: 7.797 kB / 0.5375 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-06/0.3471, allocations: 3.875 kB / 0.5375 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.3473, allocations: 169.5 kB / 0.5376 GB, free: 7.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3473, allocations: 3.938 kB / 0.5376 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000267/0.3476, allocations: 30.23 kB / 0.5377 GB, free: 7.605 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.002252/0.3498, allocations: 1.128 MB / 0.5388 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.3502, allocations: 110.3 kB / 0.5389 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3502, allocations: 0 / 0.5389 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3504, allocations: 67.42 kB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3508, allocations: 15.59 kB / 0.539 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.3532, allocations: 1.896 MB / 0.5408 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.3535, allocations: 0.71 MB / 0.5415 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.3536, allocations: 19.08 kB / 0.5415 GB, free: 4.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.3537, allocations: 42.81 kB / 0.5416 GB, free: 4.324 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3537, allocations: 0 / 0.5416 GB, free: 4.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.3808, allocations: 3.496 MB / 0.545 GB, free: 2.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.511, allocations: 13.81 kB / 0.545 GB, free: 2.445 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_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_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1)