Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, 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.001338/0.001338, 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.523/1.523, 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.232/0.232, 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.002272/0.002272, allocations: 79.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 62.45 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003223/0.3679, allocations: 1.679 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.369, allocations: 0.5573 MB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.369, allocations: 1.375 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3693, allocations: 70.02 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.3696, allocations: 105.7 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.3701, allocations: 131.2 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3703, allocations: 89.58 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3704, allocations: 12.8 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.518e-05/0.3705, allocations: 45.05 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3706, allocations: 48.98 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3706, allocations: 4.75 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.3707, allocations: 64.72 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.3708, allocations: 28.72 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.3709, allocations: 38.47 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3711, allocations: 121 kB / 0.5336 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3711, allocations: 0 / 0.5336 GB, free: 11.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3711, allocations: 1.188 kB / 0.5336 GB, free: 11.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3711, allocations: 0 / 0.5336 GB, free: 11.17 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.0006005/0.3717, allocations: 438 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3718, allocations: 9.531 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.3718, allocations: 44.27 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.3719, allocations: 14.5 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.3721, allocations: 200.9 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3721, allocations: 2.125 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3721, allocations: 3.531 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3723, allocations: 62.95 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3723, allocations: 2.031 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3724, allocations: 4 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3724, allocations: 3.938 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3725, allocations: 42.73 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.3729, allocations: 308.9 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3732, allocations: 58.64 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.227e-05/0.3733, allocations: 24.72 kB / 0.5347 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3733, allocations: 9.234 kB / 0.5347 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3734, allocations: 31.59 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3734, allocations: 0 / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001486/0.3749, allocations: 414.8 kB / 0.5352 GB, free: 9.727 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.3749, allocations: 56.78 kB / 0.5352 GB, free: 9.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3752, allocations: 225.7 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3752, allocations: 25.7 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.213e-05/0.3753, allocations: 111 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.3753, allocations: 35.81 kB / 0.5356 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3754, allocations: 25.47 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3756, allocations: 322.2 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3757, allocations: 51.92 kB / 0.536 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3758, allocations: 40.5 kB / 0.536 GB, free: 8.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.3761, allocations: 96.12 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3761, allocations: 0 / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003265/0.3764, allocations: 154.6 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3764, allocations: 4.875 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3765, allocations: 1.594 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3765, allocations: 7.875 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3766, allocations: 23.98 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3766, allocations: 1.062 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.3767, allocations: 14.67 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.3767, allocations: 2.188 kB / 0.5363 GB, free: 8.789 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.0001087/0.3768, allocations: 133.1 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3769, allocations: 14.69 kB / 0.5364 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.3773, allocations: 167.4 kB / 0.5366 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3773, allocations: 5.062 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3773, allocations: 1.188 kB / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3773, allocations: 0 / 0.5366 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.378, allocations: 490.8 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.378, allocations: 3.984 kB / 0.5371 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.3781, allocations: 24.7 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3781, allocations: 2.25 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3782, allocations: 5.188 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3782, allocations: 1.594 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3782, allocations: 1.281 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.3786, allocations: 269.1 kB / 0.5374 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.3787, allocations: 92.84 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.3787, allocations: 1.094 kB / 0.5375 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3788, allocations: 14.86 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.3788, allocations: 4.906 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3789, allocations: 3.812 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.379, allocations: 173 kB / 0.5376 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.379, allocations: 0 / 0.5376 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.3793, allocations: 27.03 kB / 0.5377 GB, free: 7.625 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.002448/0.3818, allocations: 1.138 MB / 0.5388 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.3822, allocations: 109.5 kB / 0.5389 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3822, allocations: 5.312 kB / 0.5389 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.3823, allocations: 57.69 kB / 0.5389 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004293/0.3828, allocations: 20.11 kB / 0.539 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.3854, allocations: 1.891 MB / 0.5408 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3859, allocations: 0.7187 MB / 0.5415 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.865e-05/0.3859, allocations: 14.61 kB / 0.5415 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.386, allocations: 39.86 kB / 0.5416 GB, free: 4.34 MB / 398.1 MB Notification: Performance of SimCode: time 8.91e-07/0.386, allocations: 0 / 0.5416 GB, free: 4.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.4115, allocations: 3.499 MB / 0.545 GB, free: 2.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.614, allocations: 7 kB / 0.545 GB, free: 2.461 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30_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_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1)