Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 114.9 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001291, allocations: 205.9 kB / 18.74 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.444/1.444, allocations: 227.4 MB / 247 MB, free: 10.42 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.2303/0.2303, allocations: 46.12 MB / 344.4 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.003297/0.003297, allocations: 79.86 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3619, allocations: 62.45 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003097/0.365, allocations: 1.683 MB / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3661, allocations: 0.5491 MB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.3662, allocations: 1.375 kB / 0.5328 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3664, allocations: 59.11 kB / 0.5329 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.3668, allocations: 101.6 kB / 0.533 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.3672, allocations: 131 kB / 0.5331 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3674, allocations: 83.31 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.3675, allocations: 17.91 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.3676, allocations: 42.06 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3677, allocations: 48.2 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3677, allocations: 5.125 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3678, allocations: 52.17 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.3679, allocations: 28.77 kB / 0.5334 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.3679, allocations: 30.41 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3682, allocations: 123.3 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3682, allocations: 3.984 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.3682, allocations: 0 / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3682, allocations: 0 / 0.5335 GB, free: 11.23 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.0006115/0.3688, allocations: 425.5 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3688, allocations: 9.969 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.508e-05/0.3689, allocations: 36.06 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3689, allocations: 14.31 kB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3692, allocations: 208.4 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3692, allocations: 1.594 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3692, allocations: 11.69 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.3694, allocations: 67.02 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3694, allocations: 3.953 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3695, allocations: 1.812 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3695, allocations: 3.938 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3696, allocations: 39.12 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.37, allocations: 310.7 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.3703, allocations: 63.38 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.3704, allocations: 25.34 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3704, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3704, allocations: 43.81 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3704, allocations: 0 / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001494/0.3719, allocations: 406.8 kB / 0.5351 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.372, allocations: 52.78 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3722, allocations: 194.6 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3722, allocations: 25.7 kB / 0.5354 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.3723, allocations: 109.6 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3724, allocations: 39.77 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.3724, allocations: 29.97 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3726, allocations: 323 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.3727, allocations: 38.34 kB / 0.5359 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.3728, allocations: 57.05 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3731, allocations: 104.2 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3731, allocations: 0 / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003165/0.3734, allocations: 134.3 kB / 0.5362 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3734, allocations: 4.875 kB / 0.5362 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3735, allocations: 5.078 kB / 0.5362 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3735, allocations: 3.938 kB / 0.5362 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3736, allocations: 25.42 kB / 0.5362 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3736, allocations: 7.938 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.905e-05/0.3737, allocations: 10.14 kB / 0.5362 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3737, allocations: 7.75 kB / 0.5362 GB, free: 8.863 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.0001093/0.3738, allocations: 131 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3739, allocations: 13.69 kB / 0.5364 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.3743, allocations: 160.3 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3743, allocations: 5.125 kB / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3743, allocations: 0 / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3743, allocations: 0 / 0.5365 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000733/0.375, allocations: 485.9 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3751, allocations: 4.062 kB / 0.537 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3752, allocations: 28.42 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3752, allocations: 1.812 kB / 0.537 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3752, allocations: 5.984 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3752, allocations: 1.031 kB / 0.537 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3752, allocations: 4.875 kB / 0.537 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.3756, allocations: 255.7 kB / 0.5373 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.3757, allocations: 89.44 kB / 0.5374 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3757, allocations: 1.125 kB / 0.5374 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3758, allocations: 10.86 kB / 0.5374 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.3759, allocations: 16.27 kB / 0.5374 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3759, allocations: 8.344 kB / 0.5374 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.376, allocations: 157 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.376, allocations: 0 / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.3763, allocations: 22.66 kB / 0.5376 GB, free: 7.719 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.00232/0.3786, allocations: 1.144 MB / 0.5387 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.379, allocations: 110.5 kB / 0.5388 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.379, allocations: 0 / 0.5388 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.3792, allocations: 63.19 kB / 0.5389 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.3796, allocations: 22.91 kB / 0.5389 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.3822, allocations: 1.829 MB / 0.5407 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3825, allocations: 0.7127 MB / 0.5414 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.3826, allocations: 14.31 kB / 0.5414 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.3827, allocations: 38.8 kB / 0.5414 GB, free: 4.465 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3827, allocations: 0 / 0.5414 GB, free: 4.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.4088, allocations: 3.427 MB / 0.5448 GB, free: 2.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.593, allocations: 7.281 kB / 0.5448 GB, free: 2.617 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28_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_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1)