Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001286/0.001286, 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.001322/0.001322, 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.466/1.466, 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.2288/0.2288, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002444/0.002444, allocations: 79.86 kB / 480.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3482, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003541/0.3518, allocations: 1.861 MB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3536, allocations: 1.008 MB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.3537, allocations: 1.125 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.354, allocations: 68.09 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.3545, allocations: 119.4 kB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.3549, allocations: 155.6 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.3552, allocations: 205.9 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3553, allocations: 20.55 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3555, allocations: 85.92 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3556, allocations: 95.45 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.3557, allocations: 17.69 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.3558, allocations: 50.22 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.3559, allocations: 33.53 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.356, allocations: 82.58 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.3563, allocations: 190.8 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3563, allocations: 0 / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3563, allocations: 0 / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3563, allocations: 0 / 0.5345 GB, free: 10.41 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.001119/0.3574, allocations: 0.5882 MB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3575, allocations: 9.906 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.3575, allocations: 36.02 kB / 0.5351 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.3576, allocations: 22.5 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3579, allocations: 237.3 kB / 0.5354 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3579, allocations: 7.688 kB / 0.5354 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.358, allocations: 8.406 kB / 0.5354 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.3585, allocations: 143.2 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3585, allocations: 1.031 kB / 0.5355 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3585, allocations: 3.984 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3586, allocations: 6.156 kB / 0.5355 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.3593, allocations: 162.3 kB / 0.5357 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.3599, allocations: 377.3 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.3607, allocations: 194.3 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003939/0.3611, allocations: 94.48 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3612, allocations: 1.312 kB / 0.5363 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006271/0.3618, allocations: 167.7 kB / 0.5365 GB, free: 8.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/0.3618, allocations: 0 / 0.5365 GB, free: 8.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003852/0.3657, allocations: 0.8243 MB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.3657, allocations: 57.5 kB / 0.5373 GB, free: 8.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.3662, allocations: 253.8 kB / 0.5376 GB, free: 8.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.3662, allocations: 31.8 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3663, allocations: 120.8 kB / 0.5377 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.3664, allocations: 45.22 kB / 0.5378 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.3665, allocations: 41.52 kB / 0.5378 GB, free: 7.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3667, allocations: 331.5 kB / 0.5381 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007516/0.3675, allocations: 165.2 kB / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.3682, allocations: 168 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/0.3696, allocations: 363.8 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.3696, allocations: 4 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001714/0.3713, allocations: 465.1 kB / 0.5392 GB, free: 6.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.3714, allocations: 61.92 kB / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3714, allocations: 0 / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3714, allocations: 1.281 kB / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.3719, allocations: 76.28 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3719, allocations: 1.312 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.3723, allocations: 67 kB / 0.5394 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3724, allocations: 4.016 kB / 0.5394 GB, free: 6.73 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.0001821/0.3726, allocations: 139.8 kB / 0.5396 GB, free: 6.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.3726, allocations: 21.11 kB / 0.5396 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.3742, allocations: 405.7 kB / 0.54 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3743, allocations: 5.062 kB / 0.54 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/0.3743, allocations: 3.984 kB / 0.54 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3743, allocations: 1.062 kB / 0.54 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.3762, allocations: 0.7015 MB / 0.5407 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3762, allocations: 5.031 kB / 0.5407 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.3766, allocations: 74.66 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3766, allocations: 1.125 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3766, allocations: 5.109 kB / 0.5408 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3767, allocations: 1.031 kB / 0.5408 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3767, allocations: 5.094 kB / 0.5408 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.3783, allocations: 479.9 kB / 0.5412 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.008e-05/0.3784, allocations: 93.52 kB / 0.5413 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3784, allocations: 5.062 kB / 0.5413 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.3789, allocations: 66.64 kB / 0.5414 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.379, allocations: 50.09 kB / 0.5414 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3791, allocations: 3.438 kB / 0.5414 GB, free: 5.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002313/0.3793, allocations: 182.5 kB / 0.5416 GB, free: 5.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.3793, allocations: 1.094 kB / 0.5416 GB, free: 5.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000349/0.3797, allocations: 56.8 kB / 0.5417 GB, free: 5.164 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.003258/0.3829, allocations: 1.304 MB / 0.5429 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3846, allocations: 474.9 kB / 0.5434 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3846, allocations: 0 / 0.5434 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.3854, allocations: 188.2 kB / 0.5436 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3858, allocations: 38.52 kB / 0.5436 GB, free: 3.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006298/0.3921, allocations: 2.835 MB / 0.5464 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.3925, allocations: 0.728 MB / 0.5471 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.3927, allocations: 17.42 kB / 0.5471 GB, free: 456 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.3928, allocations: 59.41 kB / 0.5472 GB, free: 396 kB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3929, allocations: 0 / 0.5472 GB, free: 396 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.4218, allocations: 5.761 MB / 0.5528 GB, free: 10.73 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/8.719, allocations: 5.906 kB / 0.5528 GB, free: 10.73 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)