Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00185/0.00185, allocations: 118.2 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.002116/0.002116, allocations: 197.2 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.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2639/0.2639, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 80.11 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3428, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00319/0.346, allocations: 1.858 MB / 0.5324 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.3476, allocations: 1.008 MB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.3477, allocations: 0 / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00023/0.3479, allocations: 67.66 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.3483, allocations: 115.6 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.3487, allocations: 172.1 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.3489, allocations: 205.8 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.349, allocations: 16.56 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3492, allocations: 89.91 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.3493, allocations: 95.47 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3494, allocations: 17.69 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.3495, allocations: 46.22 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.334e-05/0.3496, allocations: 45.45 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.747e-05/0.3496, allocations: 70.66 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3499, allocations: 193.9 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3499, allocations: 1.156 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3499, allocations: 0 / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.3499, allocations: 0 / 0.5344 GB, free: 10.46 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00107/0.351, allocations: 0.5877 MB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3511, allocations: 14.03 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.3511, allocations: 36.97 kB / 0.535 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.3512, allocations: 16.53 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3514, allocations: 234.7 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.3514, allocations: 2.562 kB / 0.5353 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.3515, allocations: 13.47 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.352, allocations: 138.7 kB / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.352, allocations: 0 / 0.5354 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.352, allocations: 5.203 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.352, allocations: 5.094 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.3527, allocations: 166.2 kB / 0.5356 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.3532, allocations: 370.2 kB / 0.536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.3539, allocations: 198 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.3542, allocations: 90.58 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.3543, allocations: 13.45 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.3548, allocations: 166.5 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.3548, allocations: 1.094 kB / 0.5364 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003466/0.3583, allocations: 0.8133 MB / 0.5372 GB, free: 8.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3584, allocations: 73.28 kB / 0.5373 GB, free: 8.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.3586, allocations: 249.8 kB / 0.5375 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3587, allocations: 32.89 kB / 0.5375 GB, free: 8.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3588, allocations: 120.1 kB / 0.5376 GB, free: 7.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.3588, allocations: 41.06 kB / 0.5377 GB, free: 7.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.3589, allocations: 36.89 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.359, allocations: 332.2 kB / 0.538 GB, free: 7.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006752/0.3597, allocations: 169.2 kB / 0.5382 GB, free: 7.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.3604, allocations: 172 kB / 0.5384 GB, free: 7.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.3616, allocations: 359 kB / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3616, allocations: 0 / 0.5387 GB, free: 7.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001401/0.363, allocations: 465 kB / 0.5392 GB, free: 6.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.3631, allocations: 66.89 kB / 0.5392 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3631, allocations: 0 / 0.5392 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3631, allocations: 1.219 kB / 0.5392 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.3635, allocations: 67.88 kB / 0.5393 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3635, allocations: 9.094 kB / 0.5393 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.3639, allocations: 62.5 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.364, allocations: 12.41 kB / 0.5394 GB, free: 6.781 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001284/0.3641, allocations: 136.4 kB / 0.5395 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.3642, allocations: 24.27 kB / 0.5395 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3656, allocations: 405.8 kB / 0.5399 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3656, allocations: 5.062 kB / 0.5399 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3656, allocations: 1 kB / 0.5399 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3656, allocations: 0 / 0.5399 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.3673, allocations: 0.7067 MB / 0.5406 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3673, allocations: 0 / 0.5406 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.3677, allocations: 79.61 kB / 0.5407 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3677, allocations: 1.062 kB / 0.5407 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3678, allocations: 5.125 kB / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3678, allocations: 1.156 kB / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3678, allocations: 0 / 0.5407 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.3691, allocations: 481.8 kB / 0.5411 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.3692, allocations: 96.58 kB / 0.5412 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.3693, allocations: 10.42 kB / 0.5412 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.3697, allocations: 66.34 kB / 0.5413 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3698, allocations: 45.09 kB / 0.5413 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3698, allocations: 3.375 kB / 0.5414 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001751/0.37, allocations: 183.3 kB / 0.5415 GB, free: 5.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.37, allocations: 4 kB / 0.5415 GB, free: 5.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003176/0.3704, allocations: 49.77 kB / 0.5416 GB, free: 5.219 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002515/0.3729, allocations: 1.305 MB / 0.5429 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.3743, allocations: 471.5 kB / 0.5433 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3744, allocations: 0 / 0.5433 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.375, allocations: 183.8 kB / 0.5435 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.3755, allocations: 43.72 kB / 0.5435 GB, free: 3.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.381, allocations: 2.822 MB / 0.5463 GB, free: 1.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3813, allocations: 0.7319 MB / 0.547 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.3814, allocations: 25.34 kB / 0.547 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.3815, allocations: 59.41 kB / 0.5471 GB, free: 464 kB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3816, allocations: 0 / 0.5471 GB, free: 464 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.4065, allocations: 5.744 MB / 0.5527 GB, free: 10.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.873/8.28, allocations: 16.94 kB / 0.5527 GB, free: 10.79 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)