Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 118.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.001302/0.001302, allocations: 198 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.44 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.2367/0.2367, allocations: 46.11 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.0023/0.0023, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3376, allocations: 62.46 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.003442/0.3411, allocations: 1.662 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.343, allocations: 1.162 MB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.3432, allocations: 5.594 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.3434, allocations: 24.03 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.3438, allocations: 92.83 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.3442, allocations: 130.8 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3444, allocations: 73 kB / 0.5337 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3445, allocations: 11.09 kB / 0.5337 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.799e-05/0.3446, allocations: 34.91 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.3447, allocations: 36.03 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3448, allocations: 4.438 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.345, allocations: 100.7 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.3451, allocations: 24.64 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.3451, allocations: 29.83 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003154/0.3454, allocations: 145.6 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3455, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3455, allocations: 0 / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3455, allocations: 0 / 0.5341 GB, free: 10.71 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.0006557/0.3461, allocations: 427.1 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3462, allocations: 14.2 kB / 0.5345 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.3462, allocations: 38.69 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3463, allocations: 10.27 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3465, allocations: 192.9 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3466, allocations: 9.641 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3466, allocations: 7.047 kB / 0.5347 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3468, allocations: 73.55 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3468, allocations: 0 / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3468, allocations: 5.391 kB / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.3468, allocations: 0 / 0.5348 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.347, allocations: 44.72 kB / 0.5349 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.3474, allocations: 289.1 kB / 0.5351 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3475, allocations: 47.06 kB / 0.5352 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.3476, allocations: 23.94 kB / 0.5352 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3477, allocations: 9.438 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3477, allocations: 39.88 kB / 0.5352 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3477, allocations: 0 / 0.5352 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007914/0.3485, allocations: 212.2 kB / 0.5354 GB, free: 9.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.3486, allocations: 86.47 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.3488, allocations: 150.2 kB / 0.5357 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3488, allocations: 27.08 kB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3489, allocations: 98.88 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3489, allocations: 26.5 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.349, allocations: 24.58 kB / 0.5358 GB, free: 8.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3492, allocations: 320.2 kB / 0.5361 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3493, allocations: 43.16 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3494, allocations: 46.3 kB / 0.5362 GB, free: 8.582 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3497, allocations: 76.67 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3497, allocations: 0 / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003048/0.35, allocations: 115.2 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.35, allocations: 5.438 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.35, allocations: 0 / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.35, allocations: 1.031 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3502, allocations: 18.86 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3502, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.3503, allocations: 22.61 kB / 0.5365 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.3503, allocations: 2.031 kB / 0.5365 GB, free: 8.453 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 (7): * Single equations (assignments): 7 * 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.0001145/0.3504, allocations: 118.2 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3505, allocations: 8.797 kB / 0.5366 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.3508, allocations: 128.4 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3508, allocations: 1.031 kB / 0.5367 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3508, allocations: 4 kB / 0.5367 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3509, allocations: 3.938 kB / 0.5367 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.3515, allocations: 393 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3515, allocations: 1.125 kB / 0.5371 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.3516, allocations: 26.02 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3516, allocations: 1.125 kB / 0.5371 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3516, allocations: 5.125 kB / 0.5371 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3516, allocations: 4 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3516, allocations: 1.094 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.352, allocations: 206.5 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3521, allocations: 83.22 kB / 0.5374 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.3521, allocations: 9 kB / 0.5374 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.3522, allocations: 14.58 kB / 0.5374 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.3523, allocations: 6.641 kB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.3523, allocations: 2.344 kB / 0.5374 GB, free: 7.555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3524, allocations: 124 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3524, allocations: 0 / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.3527, allocations: 43.12 kB / 0.5376 GB, free: 7.438 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 (7): * Single equations (assignments): 7 * 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.002352/0.3551, allocations: 1.144 MB / 0.5387 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.3554, allocations: 78.53 kB / 0.5388 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/0.3554, allocations: 7.938 kB / 0.5388 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3556, allocations: 46.8 kB / 0.5388 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.356, allocations: 13.45 kB / 0.5389 GB, free: 6.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.3583, allocations: 1.592 MB / 0.5404 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3586, allocations: 0.6926 MB / 0.5411 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.914e-05/0.3587, allocations: 17.27 kB / 0.5411 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.3588, allocations: 31.73 kB / 0.5411 GB, free: 4.355 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3588, allocations: 4 kB / 0.5411 GB, free: 4.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.3911, allocations: 3.511 MB / 0.5446 GB, free: 2.375 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.54, allocations: 6.719 kB / 0.5446 GB, free: 2.375 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14_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_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1)